Merge pull request #94531 from ju1m/initrd-network

initrd-network: fix flushBeforeStage2
This commit is contained in:
Martin Weinelt 2020-08-02 18:07:27 +02:00 committed by GitHub
commit 6c140565d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
'';