Short Description
BSS provides a means to set cloud-init kernel parameters in machine boot configuration.
Definition of Done
- BSS exposes a new API endpoint or new API endpoint field for per-machine cloud-init parameters.
- (Optional) BSS exposes a new API endpoint to set default cloud-init parameters.
- Absent explicit cloud-init configuration, BSS appends the same cloud-init parameters as it does in 1.32.
- (Optional) Unit tests verify that cloud-init configuration propagates to generated boot scripts.
Additional context
BSS currently adds a standard cloud-init data source kernel parameter. This parameter indicates that a nocloud server is available at a configurable address.
In traditional CSM, this is used for some types of non-compute nodes. Compute nodes do not run cloud-init, but BSS does still include the parameter regardless.
Custom configuration allows using a different data source (in my case, I have a VM testing platform that wants to mount a configuration disk), provide additional settings, or strip cloud-init parameters altogether.
I don't currently see any test for the buildBootScript() function that insert the cloud-init parameters (and all other parameters) or its BootScriptGet() parent. Testing this would need a new unit test.
Short Description
BSS provides a means to set cloud-init kernel parameters in machine boot configuration.
Definition of Done
Additional context
BSS currently adds a standard cloud-init data source kernel parameter. This parameter indicates that a nocloud server is available at a configurable address.
In traditional CSM, this is used for some types of non-compute nodes. Compute nodes do not run cloud-init, but BSS does still include the parameter regardless.
Custom configuration allows using a different data source (in my case, I have a VM testing platform that wants to mount a configuration disk), provide additional settings, or strip cloud-init parameters altogether.
I don't currently see any test for the
buildBootScript()function that insert the cloud-init parameters (and all other parameters) or itsBootScriptGet()parent. Testing this would need a new unit test.