Skip to content

Instantly share code, notes, and snippets.

@Frodox
Last active February 18, 2020 20:27
Show Gist options
  • Save Frodox/1734c4044a03751cb407 to your computer and use it in GitHub Desktop.
Save Frodox/1734c4044a03751cb407 to your computer and use it in GitHub Desktop.
How to know IP of VM in VirtualBox
#!/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