Rocky Linux network install fails so use local image
This commit is contained in:
parent
6348f267de
commit
1f4dd45972
3 changed files with 13 additions and 3 deletions
|
@ -16,7 +16,7 @@ ipcmd: >-
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
virt_install_os_args: >
|
virt_install_os_args: >-
|
||||||
--location https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os
|
--location /var/lib/libvirt/images/Rocky-8.5-x86_64-minimal.iso
|
||||||
--extra-args "inst.ks={{ ks_file }} console=ttyS0 net.ifnames=0 bootdev=eth0 {{ ipcmd }}"
|
--extra-args "inst.ks={{ ks_file }} console=ttyS0 net.ifnames=0 bootdev=eth0 {{ ipcmd }}"
|
||||||
virt_install_os_variant: centos8
|
virt_install_os_variant: centos8
|
||||||
|
|
|
@ -3,5 +3,5 @@
|
||||||
[devel]
|
[devel]
|
||||||
devel01.home.foo.sh
|
devel01.home.foo.sh
|
||||||
|
|
||||||
[centos8:children]
|
[rocky8:children]
|
||||||
devel
|
devel
|
||||||
|
|
|
@ -10,3 +10,13 @@
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- kvm-host
|
- kvm-host
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: fetch rocky linux install image
|
||||||
|
get_url:
|
||||||
|
dest: /var/lib/libvirt/images/Rocky-8.5-x86_64-minimal.iso
|
||||||
|
url: https://nic.funet.fi/pub/mirrors/rockylinux.org/8.5/Minimal/x86_64/iso/Rocky-8.5-x86_64-minimal.iso
|
||||||
|
checksum: sha256:4eb2ae6b06876205f2209e4504110fe4115b37540c21ecfbbc0ebc11084cb779
|
||||||
|
mode: 0644
|
||||||
|
owner: root
|
||||||
|
group: "{{ ansible_wheel }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue