Skip to content

Commit

Permalink
Make dhcp disable for eth1 working after reboot
Browse files Browse the repository at this point in the history
vagrant will override its default configuration on
every "vagrant up", so we put our override in a separate
file with higher precedence.
  • Loading branch information
xx4h committed Mar 26, 2023
1 parent 52d1846 commit 0d53248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vagrant/logger_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fix_eth1_static_ip() {
fi
fi
# TODO: try to set correctly directly through vagrant net config
netplan set ethernets.eth1.dhcp4=false
netplan set --origin-hint 90-disable-eth1-dhcp ethernets.eth1.dhcp4=false
netplan apply

# Fix eth1 if the IP isn't set correctly
Expand Down

0 comments on commit 0d53248

Please sign in to comment.