self.test_box().run_in_buildname(command, dry_run=self.dry_run())
return True
+ def clean_qemu (self):
+ utils.header("Cleaning up qemu for host %s on box %s"%(self.name(),self.test_box().hostname()))
+ command="rm -rf %s"%(self.nodedir())
+ self.test_box().run_in_buildname(command, dry_run=self.dry_run())
+ return True
+
def kill_qemu (self):
#Prepare the log file before killing the nodes
test_box = self.test_box()
return True
remote_log="%s/log.txt"%self.nodedir()
local_log="logs/node.qemu.%s.txt"%self.name()
- self.test_box().test_ssh.fetch(remote_log,local_log)
+ self.test_box().test_ssh.fetch(remote_log,local_log,dry_run=self.dry_run())
def keys_clear_known_hosts (self):
"remove test nodes entries from the local known_hosts file"