Use Rocky Linux 9.3 images unless in efi boot mode
Change-Id: Ieec98826a393f75592254e7cb7b9d2c4aa903dfd
This commit is contained in:
parent
d05484b56d
commit
5274c4e6cd
@ -42,18 +42,24 @@ infra_vm_root_format: qcow2
|
||||
|
||||
# Base image for the infra VM root volume. Default is
|
||||
# "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
|
||||
# when os_distribution is "ubuntu", or
|
||||
# https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
|
||||
# when os_distribution is "rocky",
|
||||
# or
|
||||
# when os_distribution is "ubuntu",
|
||||
# "https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
|
||||
# when os_distribution is "rocky" and seed_vm_boot_firmware is "efi",
|
||||
# "https://dl.rockylinux.org/vault/rocky/9.3/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
|
||||
# when os_distribution is "rocky" and seed_vm_boot_firmware is not "efi"
|
||||
# (default is "bios"), or
|
||||
# "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20221206.0.x86_64.qcow2"
|
||||
# otherwise.
|
||||
infra_vm_root_image: >-
|
||||
{%- if os_distribution == 'ubuntu' %}
|
||||
https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
|
||||
{%- elif os_distribution == 'rocky' %}
|
||||
{%- if seed_vm_boot_firmware == 'efi' %}
|
||||
https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
|
||||
{%- else -%}
|
||||
https://dl.rockylinux.org/vault/rocky/9.3/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
|
||||
{%- endif %}
|
||||
{%- else -%}
|
||||
https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20221206.0.x86_64.qcow2
|
||||
{%- endif %}
|
||||
|
||||
|
@ -43,17 +43,23 @@ seed_vm_root_format: qcow2
|
||||
# Base image for the seed VM root volume. Default is
|
||||
# "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
|
||||
# when os_distribution is "ubuntu",
|
||||
# https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
|
||||
# when os_distribution is "rocky",
|
||||
# or
|
||||
# "https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
|
||||
# when os_distribution is "rocky" and seed_vm_boot_firmware is "efi",
|
||||
# "https://dl.rockylinux.org/vault/rocky/9.3/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
|
||||
# when os_distribution is "rocky" and seed_vm_boot_firmware is not "efi"
|
||||
# (default is "bios"), or
|
||||
# "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20221206.0.x86_64.qcow2"
|
||||
# otherwise.
|
||||
seed_vm_root_image: >-
|
||||
{%- if os_distribution == 'ubuntu' %}
|
||||
https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
|
||||
{%- elif os_distribution == 'rocky' %}
|
||||
{%- if seed_vm_boot_firmware == 'efi' %}
|
||||
https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
|
||||
{%- else -%}
|
||||
https://dl.rockylinux.org/vault/rocky/9.3/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
|
||||
{%- endif %}
|
||||
{%- else -%}
|
||||
https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20221206.0.x86_64.qcow2
|
||||
{%- endif %}
|
||||
|
||||
|
@ -31,10 +31,12 @@
|
||||
|
||||
# Base image for the infra VM root volume. Default is
|
||||
# "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
|
||||
# when os_distribution is "ubuntu", or
|
||||
# https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
|
||||
# when os_distribution is "rocky",
|
||||
# or
|
||||
# when os_distribution is "ubuntu",
|
||||
# "https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
|
||||
# when os_distribution is "rocky" and seed_vm_boot_firmware is "efi",
|
||||
# "https://dl.rockylinux.org/vault/rocky/9.3/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
|
||||
# when os_distribution is "rocky" and seed_vm_boot_firmware is not "efi"
|
||||
# (default is "bios"), or
|
||||
# "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20221206.0.x86_64.qcow2"
|
||||
# otherwise.
|
||||
#infra_vm_root_image:
|
||||
|
@ -32,9 +32,11 @@
|
||||
# Base image for the seed VM root volume. Default is
|
||||
# "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
|
||||
# when os_distribution is "ubuntu",
|
||||
# https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
|
||||
# when os_distribution is "rocky",
|
||||
# or
|
||||
# "https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
|
||||
# when os_distribution is "rocky" and seed_vm_boot_firmware is "efi",
|
||||
# "https://dl.rockylinux.org/vault/rocky/9.3/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
|
||||
# when os_distribution is "rocky" and seed_vm_boot_firmware is not "efi"
|
||||
# (default is "bios"), or
|
||||
# "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20221206.0.x86_64.qcow2"
|
||||
# otherwise.
|
||||
#seed_vm_root_image:
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Changes the default cloud image for seed and infra VMs to use Rocky Linux
|
||||
9.3 when using ``bios`` boot mode, to fix boot failures with newer cloud
|
||||
images. When deploying new VMs, it is recommended to set
|
||||
``infra_vm_boot_firmware`` and ``seed_vm_boot_firmware`` to ``efi``.
|
Loading…
x
Reference in New Issue
Block a user