Fix the installer test

This commit is contained in:
Eelco Dolstra 2013-06-14 14:04:17 +02:00
parent 80c5b807d2
commit 82de6feba6

View file

@ -75,7 +75,7 @@ let
{ services.httpd.enable = true;
services.httpd.adminAddr = "foo@example.org";
services.httpd.servedDirs = singleton
{ urlPath = "/binary-cache";
{ urlPath = "/";
dir = "/tmp/channel";
};
@ -123,7 +123,7 @@ let
# Allow the machine to talk to the fake nixos.org.
$machine->succeed(
"rm /etc/hosts",
"echo 192.168.1.1 nixos.org > /etc/hosts",
"echo 192.168.1.1 nixos.org cache.nixos.org > /etc/hosts",
"ifconfig eth1 up 192.168.1.2",
);