-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
example
31 lines (31 loc) · 738 Bytes
/
example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
network_name = "example-net"
network_namespace = "default"
image_name = "example-image"
image_namespace = "default"
image_display_name = "Example Image"
image_source_type = "download"
image_url = "https://example.com/image.qcow2"
image_tags = { "os" = "example-os" }
vm_data = {
name = "example-vm"
hostname = "example-host"
namespace = "default"
description = "Example VM"
tags = { "purpose" = "example" }
cpus = 2
memory = "2Gi"
disks = [
{
name = "rootdisk"
size = "20Gi"
boot_order = 1
}
]
}
user_data = <<-EOF
#cloud-config
password: examplepassword
chpasswd:
expire: false
EOF
network_data = ""