mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 15:01:00 +02:00
Merge pull request #1391 from packethost/type3-bonded-changes
coreos-base/oem-packet: Type3 bonded changes
This commit is contained in:
commit
56829f3027
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
logger "Hard reset of all network interfaces due to upstream systemd-networkd issue: https://github.com/coreos/bugs/issues/36 ."
|
||||
ip link set enp1s0f0 down
|
||||
ip link set enp1s0f1 down
|
||||
for iface in `ls -1 /sys/class/net | egrep -v "(^lo$|^bond)"`; do
|
||||
ip link set $iface down
|
||||
done
|
||||
ip link del bond0
|
||||
systemctl restart systemd-networkd
|
||||
|
Loading…
x
Reference in New Issue
Block a user