From patchwork Mon Apr 19 18:48:24 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: 93549 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3JImZgG030605 for ; Mon, 19 Apr 2010 18:48:35 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752746Ab0DSSsd (ORCPT ); Mon, 19 Apr 2010 14:48:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35059 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752451Ab0DSSsc (ORCPT ); Mon, 19 Apr 2010 14:48:32 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3JImUBJ001698 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 19 Apr 2010 14:48:30 -0400 Received: from localhost.localdomain (vpn-9-146.rdu.redhat.com [10.11.9.146]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3JImRD1030552; Mon, 19 Apr 2010 14:48:28 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, akong@redhat.com, daahern@cisco.com, Lucas Meneghel Rodrigues Subject: [PATCH] KVM test: Fix RHEL 3.9 32 bit installation Date: Mon, 19 Apr 2010 15:48:24 -0300 Message-Id: <1271702904-19924-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 19 Apr 2010 18:48:50 +0000 (UTC) diff --git a/client/tests/kvm/unattended/RHEL-3-series.ks b/client/tests/kvm/unattended/RHEL-3-series.ks index ad748cb..884b386 100644 --- a/client/tests/kvm/unattended/RHEL-3-series.ks +++ b/client/tests/kvm/unattended/RHEL-3-series.ks @@ -24,10 +24,9 @@ skipx %post --interpreter /usr/bin/python import socket, os -os.system('dhclient') +os.system('/sbin/ifconfig eth0 10.0.2.15 netmask 255.255.255.0 up') +os.system('/sbin/route add default gw 10.0.2.2') os.system('chkconfig sshd on') -os.system('iptables -F') -os.system('echo 0 > /selinux/enforce') server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.bind(('', 12323)) server.listen(1)