Update terraform/main.tf
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
resource "proxmox_vm_qemu" "vm1" {
|
||||
name = "terraform-vm"
|
||||
target_node = "nuctyzyzen7-1"
|
||||
clone = "ubuntu-2404-template"
|
||||
clone = "ubuntu-2404-ci-template"
|
||||
full_clone = true
|
||||
|
||||
cpu {
|
||||
@@ -13,7 +13,7 @@ resource "proxmox_vm_qemu" "vm1" {
|
||||
|
||||
disk {
|
||||
slot = "scsi0"
|
||||
size = "20G"
|
||||
size = "40G"
|
||||
type = "disk"
|
||||
storage = "zfs1"
|
||||
}
|
||||
@@ -25,8 +25,6 @@ resource "proxmox_vm_qemu" "vm1" {
|
||||
|
||||
os_type = "cloud-init"
|
||||
ipconfig0 = "ip=dhcp"
|
||||
ciuser = "ubuntu"
|
||||
sshkeys = var.ssh_public_key
|
||||
agent = 1
|
||||
scsihw = "virtio-scsi-pci"
|
||||
machine = "q35"
|
||||
|
||||
Reference in New Issue
Block a user