KVM test: Make sure VM has an IP at post install stage
PATCH 1/1 KVM test: Make sure VM has an IP at post install stage
Similarly as we're doing on windows, make sure the vm acquires an IP address before proceeding with the rest of post install.
Signed-off-by Lucas Meneghel Rodrigues <[email protected]>
--- client/tests/kvm/unattended/Fedora-11.ks | 1 + client/tests/kvm/unattended/Fedora-12.ks | 1 + client/tests/kvm/unattended/RHEL-3-series.ks | 1 + client/tests/kvm/unattended/RHEL-4-series.ks | 1 + client/tests/kvm/unattended/RHEL-5-series.ks | 1 + 5 files changed, 5 insertions(+), 0 deletions(-)
client/tests/kvm/unattended/Fedora-11.ks +1 -0
@@ -24,6 +24,7 @@ autopart %post --interpreter /usr/bin/python import socket, os +os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') os.system('echo 0 > /selinux/enforce')
client/tests/kvm/unattended/Fedora-12.ks +1 -0
@@ -24,6 +24,7 @@ autopart %post --interpreter /usr/bin/python import socket, os +os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') os.system('echo 0 > /selinux/enforce')
client/tests/kvm/unattended/RHEL-3-series.ks +1 -0
@@ -28,6 +28,7 @@ skipx %post --interpreter /usr/bin/python import socket, os +os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') port = 12323
client/tests/kvm/unattended/RHEL-4-series.ks +1 -0
@@ -28,6 +28,7 @@ reboot %post --interpreter /usr/bin/python import socket, os +os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') os.system('echo 0 > /selinux/enforce')
client/tests/kvm/unattended/RHEL-5-series.ks +1 -0
@@ -27,6 +27,7 @@ reboot %post --interpreter /usr/bin/python import socket, os +os.system('dhclient') os.system('chkconfig sshd on') os.system('iptables -F') os.system('echo 0 > /selinux/enforce')
Signature · 1 line
1.6.6