Message ID | 1271702904-19924-1-git-send-email-lmr@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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)