
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!"