Hi, today I found out that koan is not reading the "virt-auto-boot" variable when creating a new virtual machine. I created a patch to fix that.
patch is here and attached to the mail: https://github.com/ugansert/Cobbler/commit/b4ca53aa6f1ad260ff7d585d6211ffd69e02e4f8 -- ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net
commit b4ca53aa6f1ad260ff7d585d6211ffd69e02e4f8 Author: Uwe Gansert <u...@suse.de> Date: Tue Oct 18 15:20:25 2011 +0200 set the auto-boot option for a virtual machine diff --git a/koan/qcreate.py b/koan/qcreate.py index beab3fa..1116b19 100755 --- a/koan/qcreate.py +++ b/koan/qcreate.py @@ -158,6 +158,7 @@ def start_install(name=None, guest.set_name(name) guest.set_memory(ram) guest.set_vcpus(vcpus) + guest.set_autostart(virt_auto_boot) # for KVM, we actually can't disable this, since it's the only # console it has other than SDL guest.set_graphics("vnc") diff --git a/koan/xencreate.py b/koan/xencreate.py index b86c2ff..2228d69 100755 --- a/koan/xencreate.py +++ b/koan/xencreate.py @@ -113,6 +113,7 @@ def start_install(name=None, guest.set_name(name) guest.set_memory(ram) guest.set_vcpus(vcpus) + guest.set_autostart(virt_auto_boot) if not no_gfx: guest.set_graphics("vnc")
_______________________________________________ cobbler-devel mailing list cobbler-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler-devel