inventory: asjudt virt-install commands for buildvm/buildvm_ppc64le

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-11-20 17:26:48 +00:00 committed by Pierre-Yves Chibon
parent c92658c392
commit 60aedbcfe3
3 changed files with 15 additions and 3 deletions

View file

@ -115,7 +115,19 @@ virt_install_command_one_nic_unsafe: virt-install -n {{ inventory_hostname }}
--network bridge={{ main_bridge }},model=virtio,mac={{ mac_address }}
--autostart --noautoconsole --watchdog default --rng /dev/random --cpu host
virt_install_command_two_nic_unsafe: virt-install --machine pseries-4.0 -n {{ inventory_hostname }}
virt_install_command_two_nic_unsafe: virt-install -n {{ inventory_hostname }}
--memory={{ mem_size }},maxmemory={{ max_mem_size }} --memballoon virtio
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }},cache=unsafe,io=threads
--vcpus={{ num_cpus }},maxvcpus={{ max_cpu }} -l {{ ks_repo }} -x
'net.ifnames=0 ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }} nameserver={{ dns }}
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none
ip={{ eth1_ip }}:::{{ nm }}:{{ inventory_hostname }}-nfs:eth1:none'
--network bridge={{ main_bridge }},model=virtio,mac={{ mac_address }}
--network=bridge={{ nfs_bridge }},model=virtio,mac={{ mac_address1 }}
--autostart --noautoconsole --watchdog default --rng /dev/random
virt_install_command_ppc64le_two_nic_unsafe: virt-install --machine pseries-4.0 -n {{ inventory_hostname }}
--memory={{ mem_size }},maxmemory={{ max_mem_size }} --memballoon virtio
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }},cache=unsafe,io=threads
--vcpus={{ num_cpus }},maxvcpus={{ max_cpu }} -l {{ ks_repo }} -x

View file

@ -11,7 +11,7 @@ nm: 255.255.255.0
gw: 10.5.125.254
eth1_gw: 10.5.127.254
dns: 10.5.126.21
virt_install_command: "{{ virt_install_command_two_nic }}"
virt_install_command: "{{ virt_install_command_two_nic_unsafe }}"
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file

View file

@ -15,7 +15,7 @@ dns: 10.5.126.21
#
main_bridge: br1
nfs_bridge: br3
virt_install_command: "{{ virt_install_command_two_nic_unsafe }} --graphics none"
virt_install_command: "{{ virt_install_command_ppc64le_two_nic_unsafe }} --graphics none"
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file