virt inst: add aarch64 one/two nic options
This commit is contained in:
parent
cbe43e96f0
commit
4a6d00f000
3 changed files with 23 additions and 13 deletions
|
@ -77,17 +77,6 @@ virt_install_command_one_nic: virt-install -n {{ inventory_hostname }}
|
|||
--network bridge={{ main_bridge }},model=virtio
|
||||
--autostart --noautoconsole --watchdog default
|
||||
|
||||
virt_install_command_aarch64: 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=ttyAMA0
|
||||
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 --network=bridge={{ nfs_bridge }},model=virtio
|
||||
--autostart --noautoconsole
|
||||
|
||||
virt_install_command_two_nic: virt-install -n {{ inventory_hostname }}
|
||||
--memory={{ mem_size }},maxmemory={{ max_mem_size }} --memballoon virtio
|
||||
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
||||
|
@ -99,6 +88,27 @@ virt_install_command_two_nic: virt-install -n {{ inventory_hostname }}
|
|||
--network bridge={{ main_bridge }},model=virtio --network=bridge={{ nfs_bridge }},model=virtio
|
||||
--autostart --noautoconsole --watchdog default
|
||||
|
||||
virt_install_command_aarch64_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=ttyAMA0
|
||||
hostname={{ inventory_hostname }} nameserver={{ dns }}
|
||||
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none
|
||||
--network bridge={{ main_bridge }},model=virtio
|
||||
--autostart --noautoconsole
|
||||
|
||||
virt_install_command_aarch64_two_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=ttyAMA0
|
||||
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 --network=bridge={{ nfs_bridge }},model=virtio
|
||||
--autostart --noautoconsole
|
||||
|
||||
virt_install_command_rhel6: virt-install -n {{ inventory_hostname }}
|
||||
--memory={{ mem_size }},maxmemory={{ max_mem_size }}
|
||||
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
||||
|
|
|
@ -16,7 +16,7 @@ dns: 10.5.126.21
|
|||
# when compared to the host.
|
||||
main_bridge: br1
|
||||
nfs_bridge: br0
|
||||
virt_install_command: "{{ virt_install_command_aarch64 }}"
|
||||
virt_install_command: "{{ virt_install_command_aarch64_two_nic }}"
|
||||
|
||||
krb_builder: True
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ volgroup: /dev/vg_Server
|
|||
eth0_ip: 10.5.129.232
|
||||
gw: 10.5.129.254
|
||||
main_bridge: br1
|
||||
virt_install_command: "{{ virt_install_command_aarch64 }}"
|
||||
virt_install_command: "{{ virt_install_command_aarch64_one_nic }}"
|
||||
|
||||
ks_url: http://10.5.126.23/repo/rhel/ks/buildvm-fedora-25-aarch64
|
||||
ks_repo: http://10.5.126.23/pub/fedora-secondary/releases/25/Everything/aarch64/os/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue