summaryrefslogtreecommitdiffstats
path: root/playbooks/roles
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/roles')
-rw-r--r--playbooks/roles/jump-vm/tasks/main.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/playbooks/roles/jump-vm/tasks/main.yaml b/playbooks/roles/jump-vm/tasks/main.yaml
index 89e35b2..ca8adf8 100644
--- a/playbooks/roles/jump-vm/tasks/main.yaml
+++ b/playbooks/roles/jump-vm/tasks/main.yaml
@@ -89,9 +89,9 @@
- name: define jump VM
command: "virt-install --connect qemu:///system --name {{ jumphost.name }} \
- --ram 8192 --vcpus=8 --os-type linux --os-variant ubuntu16.04 \
- --disk path={{ workspace }}/kuberef-jump.qcow2,format=qcow2 \
- --disk {{ workspace }}/kuberef-jump-cidata.iso,device=cdrom \
+ --ram 8192 --vcpus=8 --os-type linux --os-variant ubuntu18.04 \
+ --disk path={{ workspace }}/{{ jumphost.name }}.qcow2,format=qcow2 \
+ --disk {{ workspace }}/{{ jumphost.name }}-cidata.iso,device=cdrom \
--network network=default,model=virtio,mac='{{ jumphost.interfaces[engine.net_config[engine.public_network].interface].mac_address }}' \
{{ '--network bridge=pxebr,model=rtl8139,mac=' + jumphost.interfaces[engine.net_config[engine.pxe_network].interface].mac_address if deployment_type == 'full' else '' }} \
--import --noautoconsole"