From 0d53248dd928d1d7b264f03eaa49dee95da56179 Mon Sep 17 00:00:00 2001 From: Fabian 'xx4h' Sylvester Date: Sun, 26 Mar 2023 15:15:43 +0200 Subject: [PATCH] Make dhcp disable for eth1 working after reboot vagrant will override its default configuration on every "vagrant up", so we put our override in a separate file with higher precedence. --- Vagrant/logger_bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrant/logger_bootstrap.sh b/Vagrant/logger_bootstrap.sh index fc0a4f755..ea4d7116b 100644 --- a/Vagrant/logger_bootstrap.sh +++ b/Vagrant/logger_bootstrap.sh @@ -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