Fix a long standing bug where the unattended installs for RHEL 3.9 32 bit were failing due to some limitations on the boot install kernel for this specific version. Instead of using dhclient, resort to static IP configuration and bring joy to the land. This modification to the kickstart file does not regress 3.9 64 bit.
Special thanks go to David S. Ahern <[email protected]> for the time spent on resolving this problem. Signed-off-by: Lucas Meneghel Rodrigues <[email protected]> --- client/tests/kvm/unattended/RHEL-3-series.ks | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) 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) -- 1.6.6.1 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
