Skip to content

Commit 769c66e

Browse files
committed
add sample of tfvars
1 parent cd25c1f commit 769c66e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

kvm/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ variable "os_image" {
4242
variable "source_path" {
4343
description = "Path to the source configuration for ISO VMs"
4444
type = string
45-
default = "noble-server-cloudimg-amd64.img"
45+
default = "https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-arm64.img"
4646
}
4747

4848
variable "vm_definitions" {

sample/terraform.tfvars.sample

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cloud_init_file = "./cloudinit/cloud_init.cfg"
2+
pool_type = "dir"
3+
libvirt_url = "qemu:///system"
4+
pool_path = "./kvm"
5+
source_path = "path of OS img "
6+
ssh_key = "your ssh_key"
7+
8+
vm_definitions = [
9+
{ type = "master", count = 1, memory = 1024, vcpu = 1, size_disk = 5361393152 }
10+
]

0 commit comments

Comments
 (0)