N NetRock Renowned Member Apr 23, 2015 78 1 71 Apr 26, 2018 #1 Hi All... Is there a command line to get the nodename from virtual machine. I need to access a directory on the host from VM but i need to know the hostname. Thank You in advance for your quick prompts.
Hi All... Is there a command line to get the nodename from virtual machine. I need to access a directory on the host from VM but i need to know the hostname. Thank You in advance for your quick prompts.
U udo Distinguished Member Proxmox Subscriber Apr 22, 2009 5,977 201 163 Ahrensburg; Germany Apr 26, 2018 #2 NetRock said: Hi All... Is there a command line to get the nodename from virtual machine. I need to access a directory on the host from VM but i need to know the hostname. Thank You in advance for your quick prompts. Click to expand... Hi, if you install lldpd on host and VM you can use "lldpcli show neighbors" to see the host. Udo
NetRock said: Hi All... Is there a command line to get the nodename from virtual machine. I need to access a directory on the host from VM but i need to know the hostname. Thank You in advance for your quick prompts. Click to expand... Hi, if you install lldpd on host and VM you can use "lldpcli show neighbors" to see the host. Udo
N NetRock Renowned Member Apr 23, 2015 78 1 71 Apr 26, 2018 #3 Thanks for the reply Udo.. With lldpad, I believe, it is able to dicover all other host. I need to discover only the host VM is running on, is there a way to do that. Thank you again.
Thanks for the reply Udo.. With lldpad, I believe, it is able to dicover all other host. I need to discover only the host VM is running on, is there a way to do that. Thank you again.
C czechsys Renowned Member Nov 18, 2015 437 49 93 Apr 26, 2018 #4 lldpctl show it shows node under VM or you can try qemu-guest-agent