aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/infra_create_vms/tasks
diff options
context:
space:
mode:
authorJohn O Loughlin <john.oloughlin@intel.com>2018-02-16 11:38:18 +0000
committerRoss Brattain <ross.b.brattain@intel.com>2018-03-05 17:35:04 +0000
commitc12a0edada71bf1dfce399a2dc3c06affdf67708 (patch)
treecd7d394b488e3e420bafa09680d3cdc597539890 /ansible/roles/infra_create_vms/tasks
parent8400c1895c49cb0c7802692f75d820fb5b8b7dc4 (diff)
Bug fix ansible scripts
For 'qemu-img version 2.10.1' unit 'MB' is not acceptable Changing to 'M' JIRA: YARDSTICK-1019 Change-Id: Ic9153e9e9c85d949d15b1d15cc8cddfad986b4a3 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Diffstat (limited to 'ansible/roles/infra_create_vms/tasks')
-rw-r--r--ansible/roles/infra_create_vms/tasks/configure_vm.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/infra_create_vms/tasks/configure_vm.yml b/ansible/roles/infra_create_vms/tasks/configure_vm.yml
index 10201cf2a..5685e634f 100644
--- a/ansible/roles/infra_create_vms/tasks/configure_vm.yml
+++ b/ansible/roles/infra_create_vms/tasks/configure_vm.yml
@@ -328,7 +328,7 @@
- name: Copy and convert the ubuntu image
shell: >
- qemu-img resize {{ image_dir+node_item.hostname+'.qcow2' }} {{ node_item.disk }}MB
+ qemu-img resize {{ image_dir+node_item.hostname+'.qcow2' }} {{ node_item.disk }}M
- name: Define the VMs
virt: