From patchwork Wed Nov 11 12:57:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 59328 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nABCvVeK028972 for ; Wed, 11 Nov 2009 12:57:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755758AbZKKM5X (ORCPT ); Wed, 11 Nov 2009 07:57:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755789AbZKKM5X (ORCPT ); Wed, 11 Nov 2009 07:57:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53359 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755606AbZKKM5W (ORCPT ); Wed, 11 Nov 2009 07:57:22 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nABCvQQS006865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Nov 2009 07:57:27 -0500 Received: from localhost.localdomain (vpn-8-235.rdu.redhat.com [10.11.8.235]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nABCvPk0002159; Wed, 11 Nov 2009 07:57:25 -0500 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Bear Subject: [PATCH] Add ks files for RHEL5,RHEL4,RHEL3 series products Date: Wed, 11 Nov 2009 10:57:24 -0200 Message-Id: <1257944244-7402-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/client/tests/kvm/kvm_tests.cfg.sample b/client/tests/kvm/kvm_tests.cfg.sample index ac9ef66..fd4873e 100644 --- a/client/tests/kvm/kvm_tests.cfg.sample +++ b/client/tests/kvm/kvm_tests.cfg.sample @@ -435,7 +435,14 @@ variants: cdrom=linux/RHEL-5.3-i386-DVD.iso md5sum=371c62851611fd32ead440df6f24a296 md5sum_1m=242318dd44152210f6ff6cdda1bfbf51 - + unattended_install: + cdrom=linux/RHEL-5.3-i386-DVD.iso + md5sum=371c62851611fd32ead440df6f24a296 + md5sum_1m=242318dd44152210f6ff6cdda1bfbf51 + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/RHEL-5-series.ks - 5.3.x86_64: no setup image_name = rhel5-64 @@ -444,7 +451,14 @@ variants: cdrom=linux/RHEL-5.3-x86_64-DVD.iso md5sum=c5ed6b284410f4d8212cafc78fd7a8c5 md5sum_1m=b999f437583098ea5bbd56fb1de1d011 - + unattended_install: + cdrom=linux/RHEL-5.3-x86_64-DVD.iso + md5sum=c5ed6b284410f4d8212cafc78fd7a8c5 + md5sum_1m=b999f437583098ea5bbd56fb1de1d011 + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/RHEL-5-series.ks - 4.7.i386: no setup autotest image_name = rhel4-32 @@ -453,7 +467,14 @@ variants: cdrom=linux/RHEL-4.7-i386-DVD.iso md5sum=ee5092653732a88ddbaf8eef2484c500 md5sum_1m=127081cbed825d7232331a2083975528 - + unattended_install: + cdrom=linux/RHEL-4.7-i386-DVD.iso + md5sum=ee5092653732a88ddbaf8eef2484c500 + md5sum_1m=127081cbed825d7232331a2083975528 + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/RHEL-4-series.ks - 4.7.x86_64: no setup autotest image_name = rhel4-64 @@ -462,7 +483,14 @@ variants: cdrom=linux/RHEL-4.7-x86_64-DVD.iso md5sum=ea9dae16dd86f7d94092d0e672333292 md5sum_1m=58fa63eaee68e269f4cb1d2edf479792 - + unattended_install: + cdrom=linux/RHEL-4.7-x86_64-DVD.iso + md5sum=ea9dae16dd86f7d94092d0e672333292 + md5sum_1m=58fa63eaee68e269f4cb1d2edf479792 + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/RHEL-4-series.ks - 3.9.i386: no setup autotest linux_s3 image_name = rhel3-32 @@ -471,7 +499,14 @@ variants: cdrom=linux/RHEL-3.9-i386-DVD.iso md5sum=ddd11a1cb104119039b0fa05df6d52b8 md5sum_1m=5f10c9417c7b8372b3456c1b5f3f9ed0 - + unattended_install: + cdrom=linux/RHEL-3.9-i386-DVD.iso + md5sum=ddd11a1cb104119039b0fa05df6d52b8 + md5sum_1m=5f10c9417c7b8372b3456c1b5f3f9ed0 + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/RHEL-3-series.ks - 3.9.x86_64: no setup autotest linux_s3 image_name = rhel3-64 @@ -480,7 +515,14 @@ variants: cdrom=linux/RHEL-3.9-x86_64-DVD.iso md5sum=bf4635e4a4bd3b43838e72bc8c329d55 md5sum_1m=18ecd37b639109f1b2af05cfb57dfeaf - + unattended_install: + cdrom=linux/RHEL-3.9-x86_64-DVD.iso + md5sum=bf4635e4a4bd3b43838e72bc8c329d55 + md5sum_1m=18ecd37b639109f1b2af05cfb57dfeaf + tftp = "images/tftpboot" + extra_params += " -bootp /pxelinux.0 -boot n" + kernel_args = "ks=floppy nicdelay=60" + unattended_file = unattended/RHEL-3-series.ks # Windows section - @Windows: no autotest linux_s3 diff --git a/client/tests/kvm/unattended/RHEL-3-series.ks b/client/tests/kvm/unattended/RHEL-3-series.ks new file mode 100644 index 0000000..0adbd6f --- /dev/null +++ b/client/tests/kvm/unattended/RHEL-3-series.ks @@ -0,0 +1,39 @@ +install +cdrom +text +reboot +lang en_US.UTF-8 +langsupport --default=en_US.UTF-8 en_US.UTF-9 +keyboard us +network --bootproto dhcp +rootpw 123456 +firewall --enabled --ssh +timezone America/New_York +firstboot --disable +bootloader --location=mbr +clearpart --all --initlabel +autopart +reboot +mouse generic3ps/2 +skipx + +%packages --resolvedeps +@ admin-tools +@ core +@ base +@ base-x +@ gnome-desktop +@ development-libs +@ development-tools + +%post --interpreter /usr/bin/python +import socket, os +os.system('chkconfig sshd on') +os.system('iptables -F') +port = 12323 +buf = 1024 +addr = ('10.0.2.2', port) +client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +client.connect(addr) +client.sendto('done', addr) +client.close() diff --git a/client/tests/kvm/unattended/RHEL-4-series.ks b/client/tests/kvm/unattended/RHEL-4-series.ks new file mode 100644 index 0000000..88dd2fd --- /dev/null +++ b/client/tests/kvm/unattended/RHEL-4-series.ks @@ -0,0 +1,40 @@ +install +cdrom +text +reboot +lang en_US.UTF-8 +langsupport --default=en_US.UTF-8 en_US.UTF-9 +keyboard us +network --bootproto dhcp +rootpw 123456 +firewall --enabled --ssh +selinux --enforcing +timezone --utc America/New_York +firstboot --disable +bootloader --location=mbr +zerombr +clearpart --all --initlabel +autopart +reboot + +%packages +@ admin-tools +@ core +@ base +@ base-x +@ gnome-desktop +@ development-libs +@ development-tools + +%post --interpreter /usr/bin/python +import socket, os +os.system('chkconfig sshd on') +os.system('iptables -F') +os.system('echo 0 > /selinux/enforce') +port = 12323 +buf = 1024 +addr = ('10.0.2.2', port) +client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +client.connect(addr) +client.sendto('done', addr) +client.close() diff --git a/client/tests/kvm/unattended/RHEL-5-series.ks b/client/tests/kvm/unattended/RHEL-5-series.ks new file mode 100644 index 0000000..3c9371f --- /dev/null +++ b/client/tests/kvm/unattended/RHEL-5-series.ks @@ -0,0 +1,39 @@ +install +cdrom +text +reboot +lang en_US.UTF-8 +keyboard us +key --skip +network --bootproto dhcp +rootpw 123456 +firewall --enabled --ssh +selinux --enforcing +timezone --utc America/New_York +firstboot --disable +bootloader --location=mbr +zerombr +clearpart --all --initlabel +autopart +reboot + +%packages +@admin-tools +@base +@base-x +@gnome-desktop +@development-libs +@development-tools + +%post --interpreter /usr/bin/python +import socket, os +os.system('chkconfig sshd on') +os.system('iptables -F') +os.system('echo 0 > /selinux/enforce') +port = 12323 +buf = 1024 +addr = ('10.0.2.2', port) +client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +client.connect(addr) +client.sendto('done', addr) +client.close()