After VM installation you need to setup internet connection which might be sometimes tricky. My setup included WiFi interface connected to Def. GW and on laptop VM machine using Bridge interface with CentOS IP manual IP assigned. Once configured you can check end to end reachability using ping to default GW and nslookup for DNS records.
- Define what IP will be used for Host Only network
- Define which adapter will be used and select Cable Connected
- Define IP on CentOS side
- File sharing can be setup here