summaryrefslogtreecommitdiffstats
path: root/ansible/roles/infra_create_vms/tasks/configure_vm.yml
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-03-08 09:54:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-08 09:54:35 +0000
commit9c50ed0e9bdb4dec5a95af40eb0e89ee962fcd40 (patch)
treebbe6743a7d3ee2db2a2b844e7f7f44b3761e5240 /ansible/roles/infra_create_vms/tasks/configure_vm.yml
parentd5a2c20d8de2796b2d2e2143ddfb2ba839a0e999 (diff)
parent33189462c6fd60496ae1afec093fb9803d23a18b (diff)
Merge "Allow VMs to access internet"
Diffstat (limited to 'ansible/roles/infra_create_vms/tasks/configure_vm.yml')
-rw-r--r--ansible/roles/infra_create_vms/tasks/configure_vm.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/infra_create_vms/tasks/configure_vm.yml b/ansible/roles/infra_create_vms/tasks/configure_vm.yml
index 5685e634f..7419fd565 100644
--- a/ansible/roles/infra_create_vms/tasks/configure_vm.yml
+++ b/ansible/roles/infra_create_vms/tasks/configure_vm.yml
@@ -305,7 +305,7 @@
- name: Populate network-config and add interface to xml file
include_tasks: create_interfaces.yml
- extra_vars: "{{ network_config, xml_file , slot_address, mac_address_counter }}"
+ extra_vars: "{{ network_config xml_file slot_address mac_address_counter }}"
loop_control:
loop_var: interface_item
with_items: "{{ node_item.interfaces }}"
@@ -326,7 +326,7 @@
shell: >
qemu-img convert -O qcow2 {{ node_item.image }} {{ image_dir+node_item.hostname+'.qcow2' }}
-- name: Copy and convert the ubuntu image
+- name: Resize image
shell: >
qemu-img resize {{ image_dir+node_item.hostname+'.qcow2' }} {{ node_item.disk }}M