public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: autotest@test.kernel.org
Cc: kvm@vger.kernel.org
Subject: [PATCH 1/5] KVM test: Fix incorrect CdromDisk instantiation when distro is OpenSUSE
Date: Mon, 18 Apr 2011 19:40:41 -0300	[thread overview]
Message-ID: <1303166445-17898-2-git-send-email-lmr@redhat.com> (raw)
In-Reply-To: <1303166445-17898-1-git-send-email-lmr@redhat.com>

We need to pass an additional tmpdir param to the class initialization.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
---
 client/tests/kvm/tests/unattended_install.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/tests/kvm/tests/unattended_install.py b/client/tests/kvm/tests/unattended_install.py
index c7e19da..2d58cf2 100644
--- a/client/tests/kvm/tests/unattended_install.py
+++ b/client/tests/kvm/tests/unattended_install.py
@@ -376,7 +376,7 @@ class UnattendedInstallConfig(object):
                 # SUSE autoyast install
                 dest_fname = "autoinst.xml"
                 if self.cdrom_unattended:
-                    boot_disk = CdromDisk(self.cdrom_unattended)
+                    boot_disk = CdromDisk(self.cdrom_unattended, self.tmpdir)
                 elif self.floppy:
                     boot_disk = FloppyDisk(self.floppy, self.qemu_img_binary,
                                            self.tmpdir)
-- 
1.7.4.4

  reply	other threads:[~2011-04-18 22:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-18 22:40 [PATCH 0/5] Make unattended install on Linux safer, fix OpenSUSE/SLES installs Lucas Meneghel Rodrigues
2011-04-18 22:40 ` Lucas Meneghel Rodrigues [this message]
2011-04-18 22:40 ` [PATCH 2/5] KVM test: Unattended install Give Linux VMs time to shutdown cleanly v2 Lucas Meneghel Rodrigues
2011-04-18 22:40 ` [PATCH 3/5] KVM test: unattended_install: Introduce wait_no_ack param Lucas Meneghel Rodrigues
2011-04-18 22:40 ` [PATCH 4/5] KVM test: Make OpenSUSE and SLES to use unattended_cdrom Lucas Meneghel Rodrigues
2011-04-18 22:40 ` [PATCH 5/5] KVM test: Introduce OpenSUSE 11.4 guest definitions Lucas Meneghel Rodrigues
2011-04-20  1:03 ` [PATCH 0/5] Make unattended install on Linux safer, fix OpenSUSE/SLES installs pradeep
2011-04-20  1:11   ` Lucas Meneghel Rodrigues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1303166445-17898-2-git-send-email-lmr@redhat.com \
    --to=lmr@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox