1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

* Prevent tests from accessing the host's network accidentally. For

instance, `nixos-rebuild' in the installer test does a `nix-pull'
  from nixos.org.

svn path=/nixos/branches/boot-order/; revision=22325
This commit is contained in:
Eelco Dolstra 2010-06-18 13:21:01 +00:00
parent a65b5ec81c
commit ac22e5369f

View file

@ -80,6 +80,10 @@ in
# serial port).
services.syslogd.extraConfig = "*.*,kern.none /dev/ttyS0";
# Prevent tests from accessing the Internet.
networking.defaultGateway = mkOverride 50 {} "";
networking.nameservers = mkOverride 50 {} [ ];
};
}