add default value for root_key_path param
authorTony Mack <tmack@cs.princeton.edu>
Thu, 31 Jan 2008 20:19:33 +0000 (20:19 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Thu, 31 Jan 2008 20:19:33 +0000 (20:19 +0000)
qaapi/qa/tests/node_remote_call.py

index 4a53b12..db27e16 100755 (executable)
@@ -9,7 +9,7 @@ class node_remote_call(Test):
     issue a command.
     """
 
-    def call(self, root_key_path, hostname, command):
+    def call(self, hostname, command, root_key_path = "/etc/planetlab/root_ssh_key.rsa"):
        if not os.path.isfile(root_key_path):
            raise Exception, "no such private key file %(root_key_path)s" % locals()