Windows 7 Pro 64-bit --> VirtualBox 4.2 --> OL 6.3 x86-64
First step after installing OL under VBox is to install a couple of packages to enable VBox Guest Additions.
I see that with OL 6, the /etc/yum.repos.d/public-yum-ol6.repo file is installed by default. Should be good to go.
However,
[root@vblnxsrv02 yum.repos.d]# yum list
Loaded plugins: security
http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'public-yum.oracle.com'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ol6_UEK_latest. Please verify its path and try again
Facts:
1 - the VBox adapter on the host OS is at 192.168.56.1
2 - the vm has two NIC. The first is configured for "hostonly", is assigned to eth0, where it is given a fixed ip address of 192.168.56.102
3 - the second NIC is configure NAT and is assigned to eth1 and configured for DHCP. (Once I have all my packages installed, I will disable this NIC)
4 - there is no issue with a similarly configured OL 5.6 vm running under the same VBox manager
5 - /etc/resolv.conf is identical on the two systems. It lists 3 nameservers, all with ip address of my organization's dns servers.
6 - On the OL 6 system, a 'ping www.oracle.com' returns 'unknown host'. On the OL 5 system, it resolves the IP address.