Add optional initialize flag to ssh_host
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@748 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py
index 8a5996e..a68ba13 100644
--- a/server/hosts/ssh_host.py
+++ b/server/hosts/ssh_host.py
@@ -42,7 +42,7 @@
implement the unimplemented methods in parent classes.
"""
- def __init__(self, hostname, user="root", port=22):
+ def __init__(self, hostname, user="root", port=22, initialize=True):
"""
Construct a SSHHost object
@@ -56,6 +56,7 @@
self.user= user
self.port= port
self.tmp_dirs= []
+ self.initialize = initialize
super(SSHHost, self).__init__()
self.bootloader = bootloader.Bootloader(self)