So you have finally completed setting up your first vm and installed Centos 6 (minimal version) but having problem with internet connection?
We’ll you might hit the same issue as mine. not to worry as you just need to do extra configuration for the network.
1. Open this file with your favorite editor for my case im using vim editor
2. Change the values
Note: some distribution has quote, just follow the quote if yours got.
3. Save and exit the editor
4. restart the network service
5. ping any website and see if internet works.