nixos.tests.installer: Fix test failures due to network being disabled

This commit is contained in:
Ricardo M. Correia
2014-06-17 18:41:26 +02:00
parent 50287f2c02
commit f8e108c865
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ in
{src = pkgs.writeText "sudoers-in" cfg.configFile; }
# Make sure that the sudoers file is syntactically valid.
# (currently disabled - NIXOS-66)
"${pkgs.sudo.override {keepVisudo = true;}}/sbin/visudo -f $src -c &&
"${pkgs.sudoWithVisudo}/sbin/visudo -f $src -c &&
cp $src $out";
target = "sudoers";
mode = "0440";