Skip to content

Commit a4fd727

Browse files
authored
Merge pull request #894 from xx4h/fix-disable-eth1-dhcp
Make dhcp disable for eth1 working after reboot
2 parents 52d1846 + 0d53248 commit a4fd727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Vagrant/logger_bootstrap.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ fix_eth1_static_ip() {
9595
fi
9696
fi
9797
# TODO: try to set correctly directly through vagrant net config
98-
netplan set ethernets.eth1.dhcp4=false
98+
netplan set --origin-hint 90-disable-eth1-dhcp ethernets.eth1.dhcp4=false
9999
netplan apply
100100

101101
# Fix eth1 if the IP isn't set correctly

0 commit comments

Comments
 (0)