initrd-network: fix flushBeforeStage2
This commit is contained in:
parent
ad7c4e495a
commit
a7439821bc
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user