#9969 closed enhancement (worksforme)
Feature Request: Show IP address of the guest in Session Information — at Version 5
Reported by: | Gabriel PREDA | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.1.6 |
Keywords: | Session Information, IP | Cc: | |
Guest type: | other | Host type: | other |
Description (last modified by )
In "Session Information" it would be nice to provide the IP address of the guest OS.
This way I would not need to log in into the virtual machine, issue "ifconfig" to find out the IP.
If this is only possible after VBoxAdditions... it's ok too.
Change History (5)
follow-up: 2 comment:1 by , 13 years ago
comment:2 by , 13 years ago
Replying to frank:
Just hover over the network icon of the VM (after the Additions are running)...
You're right indeed but if it's started with VBoxHeadless I can't do that.
I have found a way to find out the IP... but I believe it's a little bit too much:
VBoxManage guestproperty enumerate {`VBoxManage list runningvms | awk -F"{" '{print $2}'` | grep \ IP | awk -F"," '{print $2}' | awk '{print $2}'
Can we please have a shortcut... for both cli & Session Information ?
comment:3 by , 13 years ago
Well, if you are talking about the session information then you are not talking about a headless VM, are you? And what a shortcut do you mean? And the guest properties don't need to be enumerated of course, you can fetch the item you are interested in.
comment:4 by , 13 years ago
Virtual Box Manager is running.
A virtual machine is started with VBoxHeadless.
In Virtual Box Manager I would like to get IP from "Session Information".
In command line it would be nice:
VBoxManage list ip [<uuid>|<name>]
- Without argument would list each running vm with it's IP
- With argument would list only that running vm IP
comment:5 by , 12 years ago
Description: | modified (diff) |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Try
VBoxManage guestproperty enumerate VM_NAME | grep "Net.*V4.*IP"
Just hover over the network icon of the VM (after the Additions are running)...