From: Michael S. Pedersen Date: Mon, 1 Feb 2021 12:05:44 +0000 (+0000) Subject: Fixes issue with backing image format (https://libvirt.org/kbase/backing_chains.html... X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=kuberef.git;a=commitdiff_plain;h=064ec6700a1b382f4e79bfaab80152e79f0d624e Fixes issue with backing image format (https://libvirt.org/kbase/backing_chains.html#manual-image-creation) Signed-off-by: Michael S. Pedersen Change-Id: I6b0c39b7c4a4f20911e01014687a23c2c42a9e26 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71841 Tested-by: jenkins-ci Reviewed-by: Rihab Banday --- diff --git a/playbooks/roles/jump-vm/tasks/main.yaml b/playbooks/roles/jump-vm/tasks/main.yaml index c5738c3..9c556da 100644 --- a/playbooks/roles/jump-vm/tasks/main.yaml +++ b/playbooks/roles/jump-vm/tasks/main.yaml @@ -68,7 +68,7 @@ mode: '0666' - name: create new VM image from base image - command: "qemu-img create -f qcow2 -o backing_file={{ images_path }}/bionic-server-cloudimg-amd64.img {{ workspace }}/{{ jumphost.name }}.qcow2 10G" + command: "qemu-img create -f qcow2 -F qcow2 -o backing_file={{ images_path }}/bionic-server-cloudimg-amd64.img {{ workspace }}/{{ jumphost.name }}.qcow2 10G" - name: render config files for jump VM from templates template: