initrd-network: fix flushBeforeStage2
This commit is contained in:
parent
ad7c4e495a
commit
a7439821bc
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue