Skip to content

Commit

Permalink
Merge pull request #894 from xx4h/fix-disable-eth1-dhcp
Browse files Browse the repository at this point in the history
Make dhcp disable for eth1 working after reboot
  • Loading branch information
clong authored Mar 27, 2023
2 parents 52d1846 + 0d53248 commit a4fd727
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 a4fd727

Please sign in to comment.