From 1dec7ab14e961cb7f8de24483232bff308ecd094 Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Tue, 20 Jul 2021 17:12:48 +0100 Subject: [PATCH] metrics: updated virt_install_command_pxe_rhcos parameters Signed-off-by: David Kirwan --- inventory/group_vars/all | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/inventory/group_vars/all b/inventory/group_vars/all index 11028489c3..ed91675a87 100644 --- a/inventory/group_vars/all +++ b/inventory/group_vars/all @@ -88,18 +88,17 @@ mac_address: RANDOM mac_address1: RANDOM -virt_install_command_pxe_rhcos: virt-install \ - --name {{ inventory_hostname }} \ - --vcpus {{ num_cpus }},maxvcpus={{ max_cpu }} \ - --cpu host \ - --memory {{ mem_size }} \ - --disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }} \ - --nographics \ - --network bridge={{ main_bridge }},model=virtio,mac={{ mac_address }} \ - --hvm --accelerate \ - --autostart --wait=-1 \ - --extra-args "ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none nameserver={{ dns }} console=ttyS0 nomodeset rd.neednet=1 coreos.inst=yes coreos.inst.install_dev=vda coreos.live.rootfs_url={{ rhcos_install_rootfs_url }} coreos.inst.ignition_url={{ rhcos_ignition_file_url }} " \ - --os-type linux --os-variant rhel7 \ +virt_install_command_pxe_rhcos: virt-install -n {{ inventory_hostname }} + --vcpus {{ num_cpus }},maxvcpus={{ num_cpus }} + --cpu host + --memory {{ mem_size }} + --disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }} + --nographics + --network bridge={{ main_bridge }},model=virtio,mac={{ mac_address }} + --hvm --accelerate + --autostart --wait=-1 + --extra-args "ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:ens2:none nameserver={{ dns }} console=ttyS0 nomodeset rd.neednet=1 coreos.inst=yes coreos.inst.install_dev=vda coreos.live.rootfs_url={{ rhcos_install_rootfs_url }} coreos.inst.ignition_url={{ rhcos_ignition_file_url }} " \ + --os-type linux --os-variant rhel7 --location {{ rhcos_install_url }}