Re: how virt-manager get hostname of vm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/27/2014 10:33 AM, longguang.yue wrote:
> hi,all
> i recently notice that virt-manager show the hostname of vm, i am curious
> about that, what is the implementation?
>  

It shows the hostname of the VM if you have python-libguestfs installed.
libguestfs will actually access the VM disk image and read the hostname from
their. There isn't any libvirt API that does it, but guestfish has a command
inspect-get-hostname

- Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux