Merge "Add metadef value for stateless firmware"

This commit is contained in:
Zuul 2024-09-10 07:58:44 +00:00 committed by Gerrit Code Review
commit 6f593f3894
4 changed files with 26 additions and 1 deletions

View File

@ -431,6 +431,14 @@ Here is a list of useful image properties and the values they expect.
* ``bios``
* ``uefi``
``hw_firmware_stateless``
:Type: bool
Specifies whether the image should be booted with stateless firmware.
If true, firmware configurations do not persist over server reboot.
Only supported by the libvirt driver. Also UEFI firmware is required.
``hw_mem_encryption``
:Type: bool

View File

@ -51,6 +51,11 @@
"uefi"
]
},
"hw_firmware_stateless": {
"title": "Stateless Firmware",
"description": "Specifies whether the image should be booted with only read-only firmware image. If true, firmware configurations do not persist over server reboot. Note stateless firmware is only supported when UEFI is used.",
"type": "boolean"
},
"hw_rng_model": {
"title": "Random Number Generator Device",
"description": "Adds a random-number generator device to the image's instances. The cloud administrator can enable and control device behavior by configuring the instance's flavor. By default: The generator device is disabled. /dev/random is used as the default entropy source. To specify a physical HW RNG device, use the following option in the nova.conf file: rng_dev_path=/dev/hwrng",

View File

@ -793,7 +793,7 @@ class MetadefLoadUnloadTests:
'OS::Compute::VMwareFlavor': 2,
'OS::Compute::TPM': 1,
'OS::Compute::GuestMemoryBacking': 1,
'OS::Compute::LibvirtImage': 16,
'OS::Compute::LibvirtImage': 17,
'OS::Compute::VMware': 6,
'OS::Compute::Watchdog': 1,
}

View File

@ -0,0 +1,12 @@
---
upgrade:
- |
The following metadata definitions have been modified in the Dalmatian
release:
* Added ``hw_firmware_stateless`` boolean in
the ``OS::Compute::LibvirtImage`` namespace.
You may upgrade these definitions using:
``glance-manage db load_metadefs [--path <path>] [--merge] [--prefer_new]``