Finding the physical host's name from within a VirtualBox VM

Discussions related to using VirtualBox on Windows hosts.
Post Reply
gischethans
Posts: 3
Joined: 22. Jan 2012, 18:49
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Ubuntu Server

Finding the physical host's name from within a VirtualBox VM

Post by gischethans »

Is it possible to find the physical host's name on which the VirtualBox VM is running from within the VM?

I configured the VM myself and I know the physical host's details, but I have a specific requirement wherein I need to (maybe programmatically) detect physical host's name by being within the VM.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Finding the physical host's name from within a VirtualBo

Post by mpack »

Not that I know of. You can easily discover other PCs on the network, but identifying one as the host for this VM may be rather trickier.
Post Reply