From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Meneghel Rodrigues Subject: [PATCH 1/5] KVM test: Fix incorrect CdromDisk instantiation when distro is OpenSUSE Date: Mon, 18 Apr 2011 19:40:41 -0300 Message-ID: <1303166445-17898-2-git-send-email-lmr@redhat.com> References: <1303166445-17898-1-git-send-email-lmr@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: autotest@test.kernel.org Return-path: In-Reply-To: <1303166445-17898-1-git-send-email-lmr@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autotest-bounces@test.kernel.org Errors-To: autotest-bounces@test.kernel.org List-Id: kvm.vger.kernel.org We need to pass an additional tmpdir param to the class initialization. Signed-off-by: Lucas Meneghel Rodrigues --- 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