initrd-network: fix flushBeforeStage2

This commit is contained in:
Julien Moutinho 2020-08-02 09:00:11 +02:00
parent ad7c4e495a
commit a7439821bc

View File

@ -139,7 +139,7 @@ in
boot.initrd.postMountCommands = mkIf cfg.flushBeforeStage2 ''
for iface in $ifaces; do
ip address flush "$iface"
ip link down "$iface"
ip link set "$iface" down
done
'';