Set ipxe url as image metadata instead of config option¶
Move xenapi_ipxe_boot_menu_url to a image property so that it is user configurable.
Currently the xenapi iPXE URL is specified as a configuration option in Nova. Because it is a configuration option, users are unable to specify their own iPXE URL on their own images. The proposal is to allow the iPXE URL to be specified as an image property. By doing this, a customer can upload an iPXE ISO, with the iPXE URL specified as a metadata option and boot from their own custom configurations.
Add the ability to specify ipxe_boot_menu_url as an image metadata property which can override the nova configuration of xenapi_ipxe_boot_menu_url.
Remove the main configuration option of xenapi_ipxe_boot_menu_url and rely on the image property to populate the configuration.
Data model impact¶
REST API impact¶
Other end user impact¶
Users will need to specify the ipxe_boot_menu_url in order to boot from their iPXE configuration.
Other deployer impact¶
Because the settings set on the image properties would override the Nova configuration settings, an operator could prevent users from overriding the ipxe settings by setting policies to restrict usage of the various flags like ipxe_boot and ipxe_boot_menu_url.
- Primary assignee:
Create ipxe_boot_menu_url image metadata configuration to be used when generating iPXE ISO image.
Testing of this feature will be covered by the XenServer CI.
Change documentation to reflect that ipxe_boot_menu_url can now be specified as an image property which will override the default configuration.
Original iPXE implementation: https://blueprints.launchpad.net/nova/+spec/xenapi-ipxe-iso-boot-support