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 700ca19 commit 0ab757dCopy full SHA for 0ab757d
nixos-modules/microvm/interfaces.nix
@@ -46,7 +46,7 @@ in
46
if [ -e /sys/class/net/${id} ]; then
47
${pkgs.iproute2}/bin/ip link delete '${id}'
48
fi
49
- ${pkgs.iproute2}/bin/ip link add link '${macvtap.link}' name '${id}' address '${mac}' type macvtap '${macvtap.mode}'
+ ${pkgs.iproute2}/bin/ip link add link '${macvtap.link}' name '${id}' address '${mac}' type macvtap mode '${macvtap.mode}'
50
${pkgs.iproute2}/bin/ip link set '${id}' allmulticast on
51
echo 1 > "/proc/sys/net/ipv6/conf/${id}/disable_ipv6"
52
${pkgs.iproute2}/bin/ip link set '${id}' up
0 commit comments