From f54c78e2c36d7db53260bc868b5b538cb8e9d911 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Wed, 3 Oct 2018 18:18:05 +0200 Subject: [Baremetal] - Change roles and playbooks names A few playbooks and the create-vm-nodes role should change the name to reflect the new reality once the baremetal patches are merged. The playbooks that must change the name are: - xci-prepare-virtual.yml - xci-create-virtual.yml Change-Id: Iaed1f93561fa9d39c7916e0643a5445cdddf4f97 Signed-off-by: Manuel Buil --- .../roles/create-nodes/templates/vm.xml.j2 | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 xci/playbooks/roles/create-nodes/templates/vm.xml.j2 (limited to 'xci/playbooks/roles/create-nodes/templates/vm.xml.j2') diff --git a/xci/playbooks/roles/create-nodes/templates/vm.xml.j2 b/xci/playbooks/roles/create-nodes/templates/vm.xml.j2 new file mode 100644 index 00000000..e4e41eda --- /dev/null +++ b/xci/playbooks/roles/create-nodes/templates/vm.xml.j2 @@ -0,0 +1,68 @@ + + {{ vm_name }} + {{ item.1.node.memory.rstrip('G') }} + {{ item.1.node.cpus }} + + hvm + {%- if 'opnfv' in vm_name -%} + + {%- else -%} + + {% endif -%} + + + + + + + + + + + + + destroy + restart + restart + + {{ vm_emulator }} + + + + +
+ + +
+ + + + + + + + +