From patchwork Wed Oct 21 21:48:48 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: 55226 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 n9LLmwZ0000869 for ; Wed, 21 Oct 2009 21:48:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755626AbZJUVsw (ORCPT ); Wed, 21 Oct 2009 17:48:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755594AbZJUVsw (ORCPT ); Wed, 21 Oct 2009 17:48:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4487 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754160AbZJUVsv (ORCPT ); Wed, 21 Oct 2009 17:48:51 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9LLmtOK018060; Wed, 21 Oct 2009 17:48:55 -0400 Received: from localhost.localdomain (vpn-12-234.rdu.redhat.com [10.11.12.234]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9LLmoHQ028997; Wed, 21 Oct 2009 17:48:53 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, mgoldish@redhat.com, jburke@redhat.com, Lucas Meneghel Rodrigues Subject: [PATCH 2/2] KVM test: Adding new Fedora-nightly.ks unattended file Date: Wed, 21 Oct 2009 19:48:48 -0200 Message-Id: <1256161728-4440-2-git-send-email-lmr@redhat.com> In-Reply-To: <1256161728-4440-1-git-send-email-lmr@redhat.com> References: <1256161728-4440-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/client/tests/kvm/unattended/Fedora-11.ks b/client/tests/kvm/unattended/Fedora-11.ks index cfd30ea..23f1d8a 100644 --- a/client/tests/kvm/unattended/Fedora-11.ks +++ b/client/tests/kvm/unattended/Fedora-11.ks @@ -12,11 +12,9 @@ timezone --utc America/New_York firstboot --disable bootloader --location=mbr zerombr - clearpart --all --initlabel -part /boot --fstype=ext3 --size=100 -part / --fstype=ext3 --size=9000 -part swap --fstype=swap --size=512 +autopart +reboot %packages @admin-tools @@ -39,3 +37,4 @@ client.connect(addr) client.sendto('done', addr) client.close() %end + diff --git a/client/tests/kvm/unattended/Fedora-nightly.ks b/client/tests/kvm/unattended/Fedora-nightly.ks new file mode 100644 index 0000000..34191ff --- /dev/null +++ b/client/tests/kvm/unattended/Fedora-nightly.ks @@ -0,0 +1,39 @@ +install +cdrom +text +reboot +lang en_US +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 +@ core +@ 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() +