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:
parent
a65b5ec81c
commit
ac22e5369f
|
@ -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 {} [ ];
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue