Last active
February 18, 2020 20:27
-
-
Save Frodox/1734c4044a03751cb407 to your computer and use it in GitHub Desktop.
How to know IP of VM in 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
#!/bin/bash | |
VBoxManage list runningvms | |
VBoxManage guestproperty get "VM_NAME" "/VirtualBox/GuestInfo/Net/0/V4/IP" | |
# NOTE: work only if guest vm have VboxAdditions installed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment