Merge pull request #47077 from xeji/p/ferm-test
nixos/tests/ferm: disable dhcpcd
This commit is contained in:
commit
06df7c9a33
@ -11,6 +11,7 @@ import ./make-test.nix ({ pkgs, ...} : {
|
||||
with pkgs.lib;
|
||||
{
|
||||
networking = {
|
||||
dhcpcd.enable = false;
|
||||
interfaces.eth1.ipv6.addresses = mkOverride 0 [ { address = "fd00::2"; prefixLength = 64; } ];
|
||||
interfaces.eth1.ipv4.addresses = mkOverride 0 [ { address = "192.168.1.2"; prefixLength = 24; } ];
|
||||
};
|
||||
@ -20,6 +21,7 @@ import ./make-test.nix ({ pkgs, ...} : {
|
||||
with pkgs.lib;
|
||||
{
|
||||
networking = {
|
||||
dhcpcd.enable = false;
|
||||
interfaces.eth1.ipv6.addresses = mkOverride 0 [ { address = "fd00::1"; prefixLength = 64; } ];
|
||||
interfaces.eth1.ipv4.addresses = mkOverride 0 [ { address = "192.168.1.1"; prefixLength = 24; } ];
|
||||
};
|
||||
@ -51,7 +53,7 @@ import ./make-test.nix ({ pkgs, ...} : {
|
||||
''
|
||||
startAll;
|
||||
|
||||
$client->waitForUnit("network.target");
|
||||
$client->waitForUnit("network-online.target");
|
||||
$server->waitForUnit("ferm.service");
|
||||
$server->waitForUnit("nginx.service");
|
||||
$server->waitUntilSucceeds("ss -ntl | grep -q 80");
|
||||
|
Loading…
Reference in New Issue
Block a user