From patchwork Fri Jan 15 18:25:01 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 73197 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0FIPJko032764 for ; Fri, 15 Jan 2010 18:25:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757992Ab0AOSZQ (ORCPT ); Fri, 15 Jan 2010 13:25:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757991Ab0AOSZP (ORCPT ); Fri, 15 Jan 2010 13:25:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35894 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757984Ab0AOSZO (ORCPT ); Fri, 15 Jan 2010 13:25:14 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0FIPDUU022648 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 15 Jan 2010 13:25:13 -0500 Received: from localhost.localdomain (vpn-9-106.rdu.redhat.com [10.11.9.106]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0FIP54F005531; Fri, 15 Jan 2010 13:25:11 -0500 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [PATCH 2/3] KVM test: Add Fedora 12 kickstart file Date: Fri, 15 Jan 2010 16:25:01 -0200 Message-Id: <1263579902-13344-2-git-send-email-lmr@redhat.com> In-Reply-To: <1263579902-13344-1-git-send-email-lmr@redhat.com> References: <1263579902-13344-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 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-12.ks b/client/tests/kvm/unattended/Fedora-12.ks new file mode 100644 index 0000000..ff09b22 --- /dev/null +++ b/client/tests/kvm/unattended/Fedora-12.ks @@ -0,0 +1,37 @@ +install +cdrom +text +reboot +lang en_US +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 + +%packages +@base +@development-libs +@development-tools +%end + +%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() +%end