Last active
October 29, 2018 15:17
-
-
Save rightson/0a3ecc98d7d5d99ae297c11afa22d880 to your computer and use it in GitHub Desktop.
Discovering Guest IP Address of VirtualBox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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