#19 inventory: Add status message when launching a QCow2 image
Merged 6 years ago by merlinm. Opened 6 years ago by stefw.
stefw/standard-test-roles status-message-qcow2  into  master

@@ -130,6 +130,8 @@ 

                             "-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,

no initial comment
# export TEST_SUBJECTS=atomic.qcow2
# ansible-playbook tests.yml
Launching virtual machine for atomic.qcow2

PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
ok: [atomic.qcow2]

Pull-Request has been merged by merlinm

6 years ago
Metadata