diff mbox

[Autotest,KVM-AUTOTEST,3/5] KVM test: Support for Parallel install of guest OS

Message ID 1265819372.6747.29.camel@yogi-laptop (mailing list archive)
State New, archived
Headers show

Commit Message

yogi Feb. 10, 2010, 4:29 p.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/scripts/unattended.py
b/client/tests/kvm/scripts/unattended.py
index 87a8973..2257abf 100755
--- a/client/tests/kvm/scripts/unattended.py
+++ b/client/tests/kvm/scripts/unattended.py
@@ -59,8 +59,9 @@  class UnattendedInstall(object):
         self.cdrom_iso = os.path.join(kvm_test_dir, cdrom_iso)
         self.floppy_mount = tempfile.mkdtemp(prefix='floppy_',
dir='/tmp')
         self.cdrom_mount = tempfile.mkdtemp(prefix='cdrom_',
dir='/tmp')
-        self.floppy_img = os.path.join(images_dir, 'floppy.img')
-
+        flopy_name = os.path.basename(os.environ['KVM_TEST_floppy'])
+        self.floppy_img = os.path.join(images_dir, flopy_name)
+        self.create_boot_floppy()