Skip to content

Instantly share code, notes, and snippets.

@rightson
Last active October 29, 2018 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rightson/0a3ecc98d7d5d99ae297c11afa22d880 to your computer and use it in GitHub Desktop.
Save rightson/0a3ecc98d7d5d99ae297c11afa22d880 to your computer and use it in GitHub Desktop.
Discovering Guest IP Address of VirtualBox
# reference: https://forums.virtualbox.org/viewtopic.php?f=7&t=29861
# get guest's IP address
guest_name=full-name-of-vbox
VBoxManage --nologo guestproperty get "${guest_name}" /VirtualBox/GuestInfo/Net/0/V4/IP
VBoxManage --nologo guestproperty get "${guest_name}" /VirtualBox/GuestInfo/Net/1/V4/IP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment