Add Rocky 9 install support
This commit is contained in:
parent
c6b95f03c7
commit
ee40164d65
1 changed files with 28 additions and 0 deletions
28
group_vars/rocky9.yml
Normal file
28
group_vars/rocky9.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
# default resources for new vm
|
||||||
|
dsk_size: 20
|
||||||
|
mem_size: 2048
|
||||||
|
num_cpus: 2
|
||||||
|
|
||||||
|
# extra args for virt-install
|
||||||
|
ks_file: "{{ boot_url }}/ks/rocky9.ks"
|
||||||
|
ipcmd: >-
|
||||||
|
{% if network_interfaces[0]['proto'] is defined %}
|
||||||
|
{% if network_interfaces[0]['proto'] == 'static' %}
|
||||||
|
{% set int=network_interfaces[0] %}
|
||||||
|
{% if int['ipaddr'] is defined and int['gateway'] is defined %}
|
||||||
|
nameserver=8.8.8.8
|
||||||
|
ip={{ int['ipaddr'] }}::{{ int['gateway'] }}:{{ int['netmask'] }}::eth0:none
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
virt_install_os_args: >-
|
||||||
|
--location
|
||||||
|
https://nic.funet.fi/pub/mirrors/rockylinux.org/9/BaseOS/x86_64/os
|
||||||
|
--extra-args
|
||||||
|
"inst.ks={{ ks_file }}
|
||||||
|
console=ttyS0
|
||||||
|
net.ifnames=0
|
||||||
|
bootdev=eth0
|
||||||
|
inst.repo=https://nic.funet.fi/pub/mirrors/rockylinux.org/9/BaseOS/x86_64/os"
|
||||||
|
virt_install_os_variant: rhel9-unknown
|
Loading…
Add table
Reference in a new issue