summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorxudan16 <xudan16@huawei.com>2022-04-14 17:13:26 +0800
committerRihab Banday <rihab.banday@ericsson.com>2022-04-21 09:47:08 +0000
commite1fe6a366e8cdca3d490befd0d381efe3f1921af (patch)
tree36c24993ec3df4940be5dbbe18f347605bc0bf75 /playbooks
parent247f31321890180dca6f2300b7b065c70a0b7132 (diff)
Fix bug of loading wrong PDF and IDF files
Also fix KUB-62 and another tiny bug JIRA: KUB-62 Signed-off-by: xudan16 <xudan16@huawei.com> Change-Id: I0ec0837b60110fc6af6bd49c6e5c9564dc38adc2 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/73306 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
Diffstat (limited to 'playbooks')
-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"