From 364567137ac490445e5e3500ccd02e28160da4e9 Mon Sep 17 00:00:00 2001 From: Aleksandra Fedorova Date: May 27 2019 11:53:52 +0000 Subject: Add full qemu cmd to the output This will simplify debugging in cases when we need to know how test vm was configured. --- diff --git a/inventory/standard-inventory-qcow2 b/inventory/standard-inventory-qcow2 index f6e23d3..7a7859f 100755 --- a/inventory/standard-inventory-qcow2 +++ b/inventory/standard-inventory-qcow2 @@ -392,6 +392,7 @@ def start_qemu(image, cloudinit, portrange=(2222, 5555)): if diagnose: qemu_cmd += ["-vnc", DEF_HOST + ":1,to=4095"] # Launch QEMU: + logger.info("Qemu CMD: {}".format(" ".join(qemu_cmd))) qemu_proc = subprocess.Popen(qemu_cmd, stdout=open(log_qemu, 'a'), stderr=subprocess.STDOUT) time.sleep(5) if qemu_proc and diagnose: