fix(nebula): correct sched_ds_requirements usage

This commit is contained in:
Philippe Caseiro 2023-02-27 14:20:52 +01:00
parent b214694cec
commit d02ec11cb9
1 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,8 @@ resource "opennebula_template" "vm_template" {
}
*/
sched_ds_requirements = ( each.value.sysdatastore != "" ? each.value.sysdatastore : var.one_sys_datastore )
//sched_ds_requirements = ( each.value.sysdatastore != "" ? "ID=\"${each.value.sysdatastore}\"" : "ID=\"${var.one_sys_datastore}\"" )
sched_ds_requirements = ( each.value.sysdatastore != "" ? "ID=\"${each.value.sysdatastore}\"" : "" )
os {
arch = "x86_64"