mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/tests/systemd-networkd-ipv6-prefix-delegation: run in nspawn
This commit is contained in:
parent
fec2f10b70
commit
2f2bba6b56
1 changed files with 4 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ import ./make-test-python.nix (
|
|||
hexa
|
||||
];
|
||||
};
|
||||
nodes = {
|
||||
containers = {
|
||||
|
||||
# The ISP's routers job is to delegate IPv6 prefixes via DHCPv6. Like with
|
||||
# regular IPv6 auto-configuration it will also emit IPv6 router
|
||||
|
|
@ -38,6 +38,7 @@ import ./make-test-python.nix (
|
|||
interfaces.eth1 = lib.mkForce { }; # Don't use scripted networking
|
||||
};
|
||||
|
||||
services.resolved.enable = false;
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
|
||||
|
|
@ -204,6 +205,7 @@ import ./make-test-python.nix (
|
|||
interfaces.eth1.ipv6.addresses = lib.mkForce [ ];
|
||||
};
|
||||
|
||||
services.resolved.enable = false;
|
||||
systemd.network = {
|
||||
networks = {
|
||||
# systemd-networkd will load the first network unit file
|
||||
|
|
@ -300,6 +302,7 @@ import ./make-test-python.nix (
|
|||
client = {
|
||||
virtualisation.vlans = [ 2 ];
|
||||
systemd.services.systemd-networkd.environment.SYSTEMD_LOG_LEVEL = "debug";
|
||||
services.resolved.enable = false;
|
||||
networking = {
|
||||
useNetworkd = true;
|
||||
useDHCP = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue