diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2021-09-22 12:40:03 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2021-09-22 12:40:03 +0200 |
commit | c744ecb69fe7ec6b0d07697a782a61873148c184 (patch) | |
tree | 25fb64aebd990d86b360b703a67698e2218e5846 /nixos/tests/systemd-networkd-ipv6-prefix-delegation.nix | |
parent | b53a5b91b98dd6669c45a0d9c539f210a3f34558 (diff) |
nixos/tests/systemd-networkd-ipv6-prefix-delegation: fix wrapper
The owner,group options are mandatory after #126289.
Diffstat (limited to 'nixos/tests/systemd-networkd-ipv6-prefix-delegation.nix')
-rw-r--r-- | nixos/tests/systemd-networkd-ipv6-prefix-delegation.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/systemd-networkd-ipv6-prefix-delegation.nix b/nixos/tests/systemd-networkd-ipv6-prefix-delegation.nix index 94f17605e0013..68836c7307297 100644 --- a/nixos/tests/systemd-networkd-ipv6-prefix-delegation.nix +++ b/nixos/tests/systemd-networkd-ipv6-prefix-delegation.nix @@ -42,6 +42,8 @@ import ./make-test-python.nix ({pkgs, ...}: { # DO NOT COPY THIS TO PRODUCTION AS IS. Think about it at least twice. # Everyone on the "isp" machine will be able to add routes to the kernel. security.wrappers.add-dhcpd-lease = { + owner = "root"; + group = "root"; source = pkgs.writeShellScript "add-dhcpd-lease" '' exec ${pkgs.iproute2}/bin/ip -6 route replace "$1" via "$2" ''; |