@cryptotaxi247 / infra / commits / fc696111

* Use prefixLength since subnetMask is obsolete.

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

Eelco Dolstra committed Jan 14, 2013 at 11:18 UTC fc6961110166694b3fdee19b6ba8dec64f135791
1 file changed +9 -10
cartman.nix
+9 -10
@@ -210,16 +210,15 @@ rec {
210 hostName = "cartman";
211 domain = "buildfarm";
212
213 - interfaces = [
214 - { name = "external";
215 - ipAddress = myIP;
216 - subnetMask = "255.255.254.0";
217 - }
218 - { name = "internal";
219 - ipAddress = (findSingle (m: m.hostName == "cartman") {} {} machines).ipAddress;
220 - subnetMask = "22";
221 - }
222 - ];
213 + interfaces.external =
214 + { ipAddress = myIP;
215 + prefixLength = 23;
216 + };
217 +
218 + interfaces.internal =
219 + { ipAddress = (findSingle (m: m.hostName == "cartman") {} {} machines).ipAddress;
220 + prefixLength = 22;
221 + };
222
223 useDHCP = false;
224