We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d09b0 commit 1a62cb5Copy full SHA for 1a62cb5
nixos-modules/microvm/interfaces.nix
@@ -53,11 +53,11 @@ in
53
${pkgs.coreutils-full}/bin/chown '${user}:${group}' /dev/tap$(< "/sys/class/net/${id}/ifindex")
54
'') macvtapInterfaces;
55
56
- macvap-down = pkgs.writeShellScriptBin "microvm-${hostName}-macvtap-down" (''
+ macvtap-down = ''
57
set -ou pipefail
58
- '' + lib.concatMapStrings ({ id, mac, ... }: ''
+ '' + lib.concatMapStrings ({ id, ... }: ''
59
${pkgs.iproute2}/bin/ip link del name '${id}'
60
- '') macvtapInterfaces);
+ '') macvtapInterfaces;
61
}
62
) ];
63
0 commit comments