All of lore.kernel.org
 help / color / mirror / Atom feed
From: yogi <anantyog@linux.vnet.ibm.com>
To: autotest@test.kernel.org
Cc: kvm@vger.kernel.org, Ryan Harper <ryanh@us.ibm.com>
Subject: [Autotest] [KVM-AUTOTEST PATCH 4/5] KVM test: Support for Parallel install of guest OS
Date: Wed, 10 Feb 2010 22:00:02 +0530	[thread overview]
Message-ID: <1265819402.6747.30.camel@yogi-laptop> (raw)
In-Reply-To: <1265818995.6747.25.camel@yogi-laptop>

>From 2dbcd5801c31e35a01a671082ba0a461e9d44a5c Mon Sep 17 00:00:00 2001
From: yogananth subramanian <anantyog@linux.vnet.ibm.com>
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@linux.vnet.ibm.com>
---
 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




  parent reply	other threads:[~2010-02-10 16:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10 16:23 [Autotest] [KVM-AUTOTEST PATCH 0/5] KVM test: Support for Parallel install of guest OS yogi
2010-02-10 16:28 ` [KVM-AUTOTEST PATCH 1/5] " yogi
2010-02-10 16:29 ` [KVM-AUTOTEST PATCH 2/5] " yogi
2010-02-10 16:29 ` [KVM-AUTOTEST PATCH 3/5] " yogi
2010-02-10 17:09   ` Ryan Harper
2010-02-10 17:22   ` [Autotest] " Lucas Meneghel Rodrigues
2010-02-10 17:45     ` yogi
2010-02-10 16:30 ` yogi [this message]
2010-02-10 16:30 ` [KVM-AUTOTEST PATCH 5/5] " yogi
2010-02-10 17:13 ` [Autotest] [KVM-AUTOTEST PATCH 0/5] " Lucas Meneghel Rodrigues
2010-02-10 17:54   ` Ryan Harper
2010-02-10 19:41     ` Lucas Meneghel Rodrigues
2010-02-10 18:00   ` [Autotest] " yogi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1265819402.6747.30.camel@yogi-laptop \
    --to=anantyog@linux.vnet.ibm.com \
    --cc=autotest@test.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=ryanh@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.