Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tf-modules/tf-module-hypercloud-node/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ resource "opennebula_virtual_machine" "instance" {
group = data.opennebula_group.group.name
permissions = "660"

hard_shutdown = true

context = {
SSH_PUBLIC_KEY = var.ssh_key
NETWORK = "YES"
Expand All @@ -34,7 +36,7 @@ resource "opennebula_virtual_machine" "instance" {

disk {
image_id = var.image_id
size = 20000
size = 20480
target = "vda"
}

Expand All @@ -45,6 +47,8 @@ resource "opennebula_virtual_machine" "instance" {
listen = "0.0.0.0"
}

sched_requirements = "ARCH=\"x86_64\""

nic {
network_id = var.network_id
security_groups = var.security_groups
Expand Down