From: Lucas Meneghel Rodrigues Subject: [PATCH] KVM test: Make SUSE based distros to get back to unattended floppy Date: Thu, 28 Oct 2010 12:25:42 -0200 Message-ID: <1288275942-4287-1-git-send-email-lmr@redhat.com> Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues To: autotest@test.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:3225 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758941Ab0J1OZu (ORCPT ); Thu, 28 Oct 2010 10:25:50 -0400 Sender: kvm-owner@vger.kernel.org List-ID: OpenSUSE and SLES guests have trouble using the cdrom as source of the unattended file (apparently yast can't find the instalation media when the autoyast comes from the cdrom). So make them all start using the floppy by defailt again. Now, I ask the people that use those hosts to help me keep those guests on a healthy state. I noticed some things on the OpenSUSE unattended file that left me worried, such as: hd0 /dev/vda Although I am no expert in autoyast files, it looks to me that this sorts of 'hardcodes' this file to work only with virtio_blk. I've tested a default kvm autotest run and the installation, boot tests, autotest tests, they all went fine with OpenSUSE 11.2 64 bit, virtio_blk and virtio_net, but it seems to me that one would have trouble if ide is chosen, for example. So guys, remember I need some help to keep those. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/tests_base.cfg.sample | 55 ++++++++++++++++--------------- 1 files changed, 28 insertions(+), 27 deletions(-) diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample index 86b41e1..40ecf4a 100644 --- a/client/tests/kvm/tests_base.cfg.sample +++ b/client/tests/kvm/tests_base.cfg.sample @@ -946,8 +946,8 @@ variants: extra_params += " -boot cn" # You have to use autoyast=floppy if you want to use floppies to # hold your autoyast file - #kernel_args = "autoyast=floppy console=ttyS0,115200 console=tty0" - kernel_args = "autoyast=cdrom console=ttyS0,115200 console=tty0" + kernel_args = "autoyast=floppy console=ttyS0,115200 console=tty0" + #kernel_args = "autoyast=cdrom console=ttyS0,115200 console=tty0" post_install_delay = 10 variants: @@ -961,7 +961,8 @@ variants: unattended_install.cdrom: unattended_file = unattended/OpenSUSE-11.xml tftp = images/opensuse-11-0-32/tftpboot - floppy = images/opensuse-11-0-32/floppy.img + floppy = images/opensuse-11-0-32/autoyast.vfd + #cdrom_unattended = images/opensuse-11-0-32/autoyast.iso pxe_dir = boot/i386/loader - 11.0.64: @@ -972,8 +973,8 @@ variants: unattended_install.cdrom: unattended_file = unattended/OpenSUSE-11.xml tftp = images/opensuse-11-0-64/tftpboot - #floppy = images/opensuse-11-0-64/autoyast.vfd - cdrom_unattended = images/opensuse-11-0-64/autoyast.iso + floppy = images/opensuse-11-0-64/autoyast.vfd + #cdrom_unattended = images/opensuse-11-0-64/autoyast.iso pxe_dir = boot/x86_64/loader - 11.1.32: @@ -986,8 +987,8 @@ variants: unattended_install.cdrom: unattended_file = unattended/OpenSUSE-11.xml tftp = images/opensuse-11-1-32/tftpboot - #floppy = images/opensuse-11-1-32/autoyast.vfd - cdrom_unattended = images/opensuse-11-1-32/autoyast.iso + floppy = images/opensuse-11-1-32/autoyast.vfd + #cdrom_unattended = images/opensuse-11-1-32/autoyast.iso pxe_dir = boot/i386/loader - 11.1.64: @@ -1000,8 +1001,8 @@ variants: unattended_install.cdrom: unattended_file = unattended/OpenSUSE-11.xml tftp = images/opensuse-11-1-64/tftpboot - #floppy = images/opensuse-11-1-64/autoyast.vfd - cdrom_unattended = images/opensuse-11-1-64/autoyast.iso + floppy = images/opensuse-11-1-64/autoyast.vfd + #cdrom_unattended = images/opensuse-11-1-64/autoyast.iso pxe_dir = boot/x86_64/loader - 11.2.32: @@ -1012,8 +1013,8 @@ variants: unattended_install.cdrom: unattended_file = unattended/OpenSUSE-11.xml tftp = images/opensuse-11-2-32/tftpboot - #floppy = images/opensuse-11-2-32/autoyast.vfd - cdrom_unattended = images/opensuse-11-2-32/autoyast.iso + floppy = images/opensuse-11-2-32/autoyast.vfd + #cdrom_unattended = images/opensuse-11-2-32/autoyast.iso pxe_dir = boot/i386/loader - 11.2.64: @@ -1024,8 +1025,8 @@ variants: unattended_install.cdrom: unattended_file = unattended/OpenSUSE-11.xml tftp = images/opensuse-11-2-64/tftpboot - #floppy = images/opensuse11-2-64/autoyast.vfd - cdrom_unattended = images/opensuse11-2-64/autoyast.iso + floppy = images/opensuse11-2-64/autoyast.vfd + #cdrom_unattended = images/opensuse11-2-64/autoyast.iso pxe_dir = boot/x86_64/loader - 11.3.32: @@ -1036,8 +1037,8 @@ variants: unattended_install.cdrom: unattended_file = unattended/OpenSUSE-11.xml tftp = images/opensuse-11-3-32/tftpboot - #floppy = images/opensuse-11-3-32/autoyast.vfd - cdrom_unattended = images/opensuse-11-3-32/autoyast.iso + floppy = images/opensuse-11-3-32/autoyast.vfd + #cdrom_unattended = images/opensuse-11-3-32/autoyast.iso pxe_dir = boot/i386/loader - 11.3.64: @@ -1048,8 +1049,8 @@ variants: unattended_install.cdrom: unattended_file = unattended/OpenSUSE-11.xml tftp = images/opensuse-11-3-64/tftpboot - #floppy = images/opensuse-11-3-64/autoyast.vfd - cdrom_unattended = images/opensuse-11-3-64/autoyast.iso + floppy = images/opensuse-11-3-64/autoyast.vfd + #cdrom_unattended = images/opensuse-11-3-64/autoyast.iso pxe_dir = boot/x86_64/loader - SLES: @@ -1061,8 +1062,8 @@ variants: extra_params += " -boot cn" # You have to use autoyast=floppy if you want to use floppies to # hold your autoyast file - #kernel_args = "autoyast=floppy console=ttyS0,115200 console=tty0" - kernel_args = "autoyast=cdrom console=ttyS0,115200 console=tty0" + kernel_args = "autoyast=floppy console=ttyS0,115200 console=tty0" + #kernel_args = "autoyast=cdrom console=ttyS0,115200 console=tty0" post_install_delay = 10 variants: @@ -1074,8 +1075,8 @@ variants: unattended_install.cdrom: unattended_file = unattended/SLES-11.xml tftp = images/sles-11-0-32/tftpboot - #floppy = images/sles-11-0-32/autoyast.vfd - cdrom_unattended = images/sles-11-0-32/autoyast.iso + floppy = images/sles-11-0-32/autoyast.vfd + #cdrom_unattended = images/sles-11-0-32/autoyast.iso pxe_dir = boot/i386/loader - 11.0.64: @@ -1086,8 +1087,8 @@ variants: unattended_install.cdrom: unattended_file = unattended/SLES-11.xml tftp = images/sles-11-0-64/tftpboot - #floppy = images/sles-11-0-64/autoyast.vfd - cdrom_unattended = images/sles-11-0-64/autoyast.iso + floppy = images/sles-11-0-64/autoyast.vfd + #cdrom_unattended = images/sles-11-0-64/autoyast.iso pxe_dir = boot/x86_64/loader - 11.1.32: @@ -1098,8 +1099,8 @@ variants: unattended_install: unattended_file = unattended/SLES-11.xml tftp = images/sles-11-1-32/tftpboot - #floppy = images/sles-11-1-32/autoyast.vfd - cdrom_unattended = images/sles-11-1-32/autoyast.iso + floppy = images/sles-11-1-32/autoyast.vfd + #cdrom_unattended = images/sles-11-1-32/autoyast.iso pxe_dir = boot/i386/loader - 11.1.64: @@ -1110,8 +1111,8 @@ variants: unattended_install: unattended_file = unattended/SLES-11.xml tftp = images/sles-11-1-64/tftpboot - #floppy = images/sles-11-1-64/autoyast.vfd - cdrom_unattended = images/sles-11-1-64/autoyast.iso + floppy = images/sles-11-1-64/autoyast.vfd + #cdrom_unattended = images/sles-11-1-64/autoyast.iso pxe_dir = boot/x86_64/loader - @Ubuntu: -- 1.7.2.3