Re: Way for a VM to reboot from a snapshot?

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

 



On 05/10/2013 11:47 AM, Ken Coar wrote:
> Using the koan command, a VM can essentially request
> that it be reprovisioned.

That's the

 koan --server=${COBBLERHOST} --replace-self --system=$(hostname -f)

command run on the guest.  Frobs the grub.conf to re-kickstart.

> Is there any way for a VM to request that it reboot from
> a snapshot taken with virsh?

Apparently the answer to this is 'no'.  However, it seems as
though I might be able to ask the host's libvirtd to do it --
if the guest can find out who its host is.

I see (with some help from IRC) that the VM's libvirtd UUID
appears in the output of dmidecode, but I see no way to
relate that to a particular host IPA (IP Address) or FQDN for
the host.

How can a guest find out who its host is?

Thanks!
-- 
#ken	B-)}

Ken Coar, RHCE, RHCSA, Sanagendamgagwedweinini
IT Engineering Tower, Red Hat/RDU

"Millennium hand and shrimp!"

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux