You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due the lack of validate argument of the raw parameters and value of the VALIDATE attribute is set to yes by default on the server side, It is not possible to implement a VM Template as Terraform configuration when the VALIDATE attribute should be set to no to able to pass raw data inside the DATA.
for example to enable secure boot with the help of RAW vector attribute, we can use:
RAW = [
TYPE = "kvm",
VALIDATE = "no",
DATA = "<os firmware='efi'><firmware><feature enabled='yes' name='secure-boot'/><feature enabled='yes' name='enrolled-keys'/></firmware></os>"
]
So, it would nice to be able to write it as:
raw {
type="kvm"validate="no"data="<os firmware='efi'><firmware><feature enabled='yes' name='secure-boot'/><feature enabled='yes' name='enrolled-keys'/></firmware></os>"
}
Add support for validate argument the raw parameters of the resources:
- opennebula_template
- opennebula_virtual_machine
fixesOpenNebula#583
Signed-off-by: Elkhan Mammadli <[email protected]>
Description
Due the lack of
validate
argument of the raw parameters and value of theVALIDATE
attribute is set toyes
by default on the server side, It is not possible to implement a VM Template as Terraform configuration when theVALIDATE
attribute should be set tono
to able to pass raw data inside theDATA
.for example to enable secure boot with the help of RAW vector attribute, we can use:
So, it would nice to be able to write it as:
See: https://docs.opennebula.io/6.10/management_and_operations/references/template.html#hypervisor-section
New or affected resources and data sources
resources/opennebula_template
resources/opennebula_virtual_machine
Potential terraform configuration
References
No response
The text was updated successfully, but these errors were encountered: