crc-org / osp4

Proof of Concept repository of CodeReady Containers [Archived]
Apache License 2.0
26 stars 16 forks source link

Virtualbox setup script breaking DNS for other guests on macOS #4

Open LalatenduMohanty opened 5 years ago

LalatenduMohanty commented 5 years ago

The script [1] adds following entry in the operating system's resolv.conf file and its gets reflected in to the Guest's resolv.conf file.

One solution (workaround) is to restart the networks of mac but it will disconnect any VPN networks if connected which will disrupt user's work.

$ cat /etc/resolv.conf
search tt.testing
nameserver 172.28.128.1

[1] https://github.com/praveenkumar/osp4/blob/master/virtualbox/minishift_virtualbox.sh