>From 2dbcd5801c31e35a01a671082ba0a461e9d44a5c Mon Sep 17 00:00:00 2001 From: yogananth subramanian <anantyog@xxxxxxxxxxxxxxxxxx> Date: Wed, 10 Feb 2010 10:02:07 -0500 Subject: [PATCH 4/5] kvm test: kickstart: modified ks.cfg file to suport parallel install The guest acts as a server, rather then a client and this enables doing unattended install of guest in parallel. Similar modification has to be made for other kickstart and .sif/autounattend.xml for windows. Signed-off-by: yogananth subramanian <anantyog@xxxxxxxxxxxxxxxxxx> --- client/tests/kvm/unattended/RHEL-5-series.ks | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/tests/kvm/unattended/RHEL-5-series.ks b/client/tests/kvm/unattended/RHEL-5-series.ks index 41bb391..aea4150 100644 --- a/client/tests/kvm/unattended/RHEL-5-series.ks +++ b/client/tests/kvm/unattended/RHEL-5-series.ks @@ -28,10 +28,10 @@ os.system('dhclient') 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) +os.system('dhclient eth0') +server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +server.bind(('', 12323)) +server.listen(1) +(client, addr) = server.accept() +client.send("thank u for connecting") client.close() -- 1.6.2.5 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html