fix(module): updating default group creation for virtualMachine
This commit is contained in:
parent
f821f97b9e
commit
b209942b3d
|
@ -1,3 +1,8 @@
|
||||||
|
|
||||||
|
resource "opennebula_group" "main" {
|
||||||
|
name = var.group
|
||||||
|
}
|
||||||
|
|
||||||
// OpenNebula disk image !
|
// OpenNebula disk image !
|
||||||
resource "opennebula_image" "system" {
|
resource "opennebula_image" "system" {
|
||||||
name = local.system_image_name
|
name = local.system_image_name
|
||||||
|
@ -24,7 +29,7 @@ resource "opennebula_image" "data" {
|
||||||
driver = "qcow2"
|
driver = "qcow2"
|
||||||
format = "qcow2"
|
format = "qcow2"
|
||||||
permissions = "660"
|
permissions = "660"
|
||||||
group = "production"
|
group = var.group
|
||||||
}
|
}
|
||||||
|
|
||||||
// OpenNebula (VM) Template definition
|
// OpenNebula (VM) Template definition
|
||||||
|
|
Loading…
Reference in New Issue