diff options
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2007-10-04 15:56:51 +0000 |
---|---|---|
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2007-10-04 15:56:51 +0000 |
commit | beeac84e5194fed3cdc99f3896f460bad70e242c (patch) | |
tree | f9e835ebf881a31eed11ce00e3ecc8f89a80b08f | |
parent | 405112275525b677a94f9370d655e5833ecc74ea (diff) |
Add optional initialize flag to ssh_host
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@748 592f7852-d20e-0410-864c-8624ca9c26a4
-rw-r--r-- | server/hosts/ssh_host.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py index 8a5996e1..a68ba133 100644 --- a/server/hosts/ssh_host.py +++ b/server/hosts/ssh_host.py @@ -42,7 +42,7 @@ class SSHHost(base_classes.RemoteHost): 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 @@ class SSHHost(base_classes.RemoteHost): self.user= user self.port= port self.tmp_dirs= [] + self.initialize = initialize super(SSHHost, self).__init__() self.bootloader = bootloader.Bootloader(self) |