Thank you that definitely gave me enough to go on.
It seems that if no DNS entry is defined in /etc/network/interfaces then it will fallback to the DNS provided by DHCP if available.
The following ended up working for me and could easily be added to the Vagrant provisioning script
It seems that if no DNS entry is defined in /etc/network/interfaces then it will fallback to the DNS provided by DHCP if available.
The following ended up working for me and could easily be added to the Vagrant provisioning script
Code:
sed -i '/dns-.*/d' /etc/network/interfacesifdown eth0 && ifup eth0
Statistics: Posted by Chronocide0 — 2025-01-15 04:15