@cryptotaxi247 / infra / commits / ba33db63

* Retire Xen.

svn path=/configurations/trunk/tud/; revision=33355

Eelco Dolstra committed Mar 22, 2012 at 12:22 UTC ba33db638821d8bbb9771a3fca4dd14d6eca53e3
3 files changed +7 -18
common.nix
+2
@@ -5,6 +5,8 @@
5
6 boot.kernelModules = [ "coretemp" ];
7
8 + boot.supportedFilesystems = [ "nfs" ];
9 +
10 boot.initrd.kernelModules = [ "ext4" ];
11
12 environment.systemPackages =
machines.nix
+3 -1
@@ -9,12 +9,14 @@ lib: with lib;
9 aliases = ["main"];
10 maxJobs = 2;
11 }
12 -
12 +
13 + /*
14 { # APC UPS.
15 hostName = "ups";
16 ipAddress = "192.168.1.6";
17 ethernetAddress = "00:c0:b7:5b:16:56";
18 }
19 + */
20
21 { # 8-core NixOS build machine.
22 hostName = "kenny";
mrhankey.nix
+2 -17
@@ -7,8 +7,8 @@ with pkgs.lib;
7
8 nixpkgs.system = "x86_64-linux";
9
10 - virtualisation.xen.enable = true;
11 - virtualisation.xen.domain0MemorySize = 512;
10 + #virtualisation.xen.enable = true;
11 + #virtualisation.xen.domain0MemorySize = 512;
12
13 boot.loader.grub.device = "/dev/sda";
14 boot.initrd.kernelModules = [ "mptbase" "mptscsih" "mptsas" ];
@@ -25,19 +25,4 @@ with pkgs.lib;
25 networking.hostName = "";
26
27 services.openssh.enable = true;
28 -
29 - environment.etc =
30 - flip map (range 0 9) (nr:
31 - { source = pkgs.writeText "agilecloud0${toString nr}"
32 - ''
33 - from xen.util.path import *
34 - memory = 512
35 - kernel = XENFIRMWAREDIR + '/pv-grub-x86_32.gz'
36 - extra = '(hd0)/boot/grub/menu.lst'
37 - disk = [ 'file:/vmdisks/agilecloud-0${toString nr}-root.img,xvda1,w' ]
38 - vif = [ 'mac=00:16:3e:00:34:0${toString nr}' ]
39 - '';
40 - target = "xen/agilecloud0${toString nr}";
41 - }
42 - );
28 }