From 66ad1efd9bc816f4f84f68f0132f77600897f84b Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 2 Apr 2008 23:09:29 +0000 Subject: [PATCH] use different methods for interacting with host machine virtual nodes are on --- qaapi/qa/tests/boot_node.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qaapi/qa/tests/boot_node.py b/qaapi/qa/tests/boot_node.py index c25f4da..1daa4a8 100644 --- a/qaapi/qa/tests/boot_node.py +++ b/qaapi/qa/tests/boot_node.py @@ -112,12 +112,12 @@ class boot_node(Test): fp.close() # Move the boot image to the nodes home directory - node.commands("mkdir -p %(homedir)s" % locals()) + node.host_commands("mkdir -p %(homedir)s" % locals()) node.scp(bootimage_tmppath, "%(remote_bootimage_path)s" % locals()) # Create a temporary disk image qemu_img_cmd = "qemu-img create -f qcow2 %(diskimage_path)s %(disk_size)s" % locals() - node.commands(qemu_img_cmd) + node.host_commands(qemu_img_cmd) if self.config.verbose: utils.header("Booting %(hostname)s" % locals()) @@ -155,7 +155,7 @@ class boot_node(Test): # launch qemu utils.header(bootcmd) - (self.stdin, self.stdout, self.stderr) = node.popen3(bootcmd) + (self.stdin, self.stdout, self.stderr) = node.host_popen3(bootcmd) # wait for qemu to start up time.sleep(3) -- 2.43.0