VirtualBox – Share internet to (linux) VM – MACOSX!

 

On your CentOS edit /etc/sysconfig/network-scripts/ifcfg-enp0s3 and set ONBOOT to yes and add the DNSs… in this case I’m using Google DNS ips.

ONBOOT=yes
DNS1=8.8.8.8
DNS2=8.8.4.4

Should work! 😉

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.