Merge pull request #94531 from ju1m/initrd-network
initrd-network: fix flushBeforeStage2
This commit is contained in:
commit
6c140565d1
|
@ -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