Re: [Autotest] [PATCH 2/2] KVM test: Support to SLES install

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

 



On Mon, May 10, 2010 at 7:27 AM, pradeepkumar
<psuriset@xxxxxxxxxxxxxxxxxx> wrote:
> On Wed, 10 Mar 2010 08:45:59 -0300
> Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx> wrote:
>
> Hi Yogi/Lucas
>
> Thanks for including SLES guests support in KVM autotest.
> I tried SLES guest install. After succsfull install of SLES guest first
> stage, again install started. Autotest keep installing first stage
> in a loop. I guess some thing needs to be changed here,

I believe it is the delay between the installing reporting end of
install and the reboot. I guess we need to omit this sleep time or
make it smaller.

As a matter of fact, I added this parameter based on the fact your
first version had a 10s sleep after the end of install was confirmed
by the guest. As I don't have access to SLES, please try omitting the
sleep time or make it smaller.

>  extra_params += " -bootp /pxelinux.0 -boot n"
>
> Can you send a patch to fix this. Thanks in advance.
>
> --SP
>
>>
>> Signed-off-by: Yogananth Subramanian <anantyog@xxxxxxxxxxxxxxxxxx>
>> ---
>>  client/tests/kvm/tests_base.cfg.sample |   22 ++++++++++++++++++++++
>>  1 files changed, 22 insertions(+), 0 deletions(-)
>>
>> diff --git a/client/tests/kvm/tests_base.cfg.sample
>> b/client/tests/kvm/tests_base.cfg.sample index c76470d..acb2076 100644
>> --- a/client/tests/kvm/tests_base.cfg.sample
>> +++ b/client/tests/kvm/tests_base.cfg.sample
>> @@ -503,6 +503,28 @@ variants:
>>                      md5sum = 2afee1b8a87175e6dee2b8dbbd1ad8e8
>>                      md5sum_1m = 768ca32503ef92c28f2d144f2a87e4d0
>>
>> +            - SLES:
>> +                no setup
>> +                shell_prompt = "^root@.*[\#\$]\s*$|#"
>> +                unattended_install:
>> +                    pxe_image = "linux"
>> +                    pxe_initrd = "initrd"
>> +                    extra_params += " -bootp /pxelinux.0 -boot n"
>> +                    kernel_args = "autoyast=floppy"
>> +
>> +                variants:
>> +                    - 11.64:
>> +                        no setup
>> +                        image_name = sles11-64
>> +                        cdrom=linux/SLES-11-DVD-x86_64-GM-DVD1.iso
>> +                        md5sum = 50a2bd45cd12c3808c3ee48208e2586b
>> +                        md5sum_1m = 00000951cab7c32e332362fc424c1054
>> +                        unattended_install:
>> +                            unattended_file =
>> unattended/Sles11-64-autoinst.xml
>> +                            tftp = "images/sles11-64/tftpboot"
>> +                            floppy = "images/sles11-64floppy.img"
>> +                            pxe_dir = "boot/x86_64/loader"
>> +
>>              - @Ubuntu:
>>                  shell_prompt = "^root@.*[\#\$]\s*$"
>>
>
> _______________________________________________
> Autotest mailing list
> Autotest@xxxxxxxxxxxxxxx
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>



-- 
Lucas
--
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