buildvm-s390x: make a special install command to not include things s390x doesn't want.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-07-01 21:14:11 +00:00
parent 4d8b625607
commit 258ddbe459
2 changed files with 11 additions and 0 deletions

View file

@ -137,6 +137,16 @@ virt_install_command_armv7_one_nic: virt-install -n {{ inventory_hostname }} --a
--network bridge={{ main_bridge }},model=virtio
--autostart --noautoconsole --rng /dev/random
virt_install_command_s390x_one_nic: virt-install -n {{ inventory_hostname }}
--memory={{ mem_size }},maxmemory={{ max_mem_size }} --memballoon virtio
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
--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'
--network bridge={{ main_bridge }},model=virtio,mac={{ mac_address }}
--autostart --noautoconsole --rng /dev/random --cpu host
virt_install_command_rhel6: virt-install -n {{ inventory_hostname }}
--memory={{ mem_size }},maxmemory={{ max_mem_size }}
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}

View file

@ -13,3 +13,4 @@ ks_url: http://10.5.126.23/repo/rhel/ks/buildvm-fedora-29-s390x
ks_repo: http://10.5.126.23/pub/fedora-secondary/releases/29/Server/s390x/os/
dns: 10.5.126.21
nm: 255.255.255.0
virt_install_command: "{{ virt_install_command_s390x_one_nic }}"