summaryrefslogtreecommitdiffstats
path: root/playbooks/roles/jump-vm
diff options
context:
space:
mode:
authorMichael S. Pedersen <michaelx.pedersen@intel.com>2021-02-01 12:05:44 +0000
committerRihab Banday <rihab.banday@ericsson.com>2021-02-02 14:38:06 +0000
commit064ec6700a1b382f4e79bfaab80152e79f0d624e (patch)
tree048def9426b57f7eb269c387d19eab77e1e9f4ec /playbooks/roles/jump-vm
parent7eae11323bd3dfc857a66e8fd1049c103a4eac22 (diff)
Fixes issue with backing image format (https://libvirt.org/kbase/backing_chains.html#manual-image-creation)
Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: I6b0c39b7c4a4f20911e01014687a23c2c42a9e26 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71841 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
Diffstat (limited to 'playbooks/roles/jump-vm')
-rw-r--r--playbooks/roles/jump-vm/tasks/main.yaml2
1 files changed, 1 insertions, 1 deletions
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: