From 142c1f256eb782c6ae9ab2d4772203e49461e092 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Jul 17 2017 09:34:32 +0000 Subject: inventory: Add status message when launching a QCow2 image --- diff --git a/inventory/standard-inventory-qcow2 b/inventory/standard-inventory-qcow2 index 49506e2..07cd277 100755 --- a/inventory/standard-inventory-qcow2 +++ b/inventory/standard-inventory-qcow2 @@ -130,6 +130,8 @@ def host(image): "-volid", "cidata", "-joliet", "-rock", "-quiet", "-output", cloudinit, userdata, metadata], stdout=null) + sys.stderr.write("Launching virtual machine for {0}\n".format(image)) + # And launch the actual VM log = os.path.join(os.getcwd(), "{0}.log".format(os.path.basename(image))) proc = subprocess.Popen(["/usr/bin/qemu-system-x86_64", "-m", "1024", image,