Get the IP address of your VirtualBox guest VM

Make sure you have VirtualBox's Guest Additions installed on the VM and then simply run the following command from your host:

VBoxManage guestproperty get 'CentOS 6' '/VirtualBox/GuestInfo/Net/0/V4/IP'