[PATCH 2/2] KVM test: Unattended - call preprocessor to kill vms

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

 



Preprocessing code was killing VMs too abruptly
at the end of the installation, so let's add an
additional kill_vm_gracefully to it, so it can
try to shutdown the VM using a shutdown command
first, which makes windows install much smoother,
and it doesn't disturb with kickstart installs.

Signed-off-by: Marcelo Tosatti <mtosatti@xxxxxxxxxx>
---
 client/tests/kvm/tests_base.cfg.sample |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample
index 7f2c41d..91daf48 100644
--- a/client/tests/kvm/tests_base.cfg.sample
+++ b/client/tests/kvm/tests_base.cfg.sample
@@ -62,6 +62,8 @@ variants:
 
     - unattended_install:
         type = unattended_install
+        kill_vm = yes
+        kill_vm_gracefully = yes
         kill_vm_on_error = yes
         force_create_image = yes
         pre_command = scripts/unattended.py
-- 
1.6.6

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux