Fix bug of loading wrong PDF and IDF files
[kuberef.git] / playbooks / roles / jump-vm / tasks / main.yaml
index 9c556da..ca8adf8 100644 (file)
@@ -1,11 +1,8 @@
 ---
-##############################################################################
-# Copyright (c) Ericsson AB and others
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
+
+# SPDX-FileCopyrightText: 2021 Ericsson AB and others
+#
+# SPDX-License-Identifier: Apache-2.0
 
 - name: get all running VMs
   virt:
@@ -92,9 +89,9 @@
 
 - name: define jump VM
   command: "virt-install --connect qemu:///system --name {{ jumphost.name }} \
-              --ram 4096 --vcpus=4 --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"