This commit is contained in:
Mike McFetridge
2026-07-20 09:23:17 -04:00
parent c1315882da
commit 72272e4006
3179 changed files with 562960 additions and 14 deletions
+58
View File
@@ -0,0 +1,58 @@
# Proxmox Full-Clone
# ---
# Create a new VM from a clone
resource "proxmox_vm_qemu" "ubuntu-2504-003" {
# VM General Settings
target_node = "pve"
vmid = "100"
name = "ubuntu-2504-003"
desc = "Test Server"
# VM Advanced General Settings
onboot = true
# VM OS Settings
clone = "ubuntu-2504-template"
# VM System Settings
agent = 0
# VM CPU Settings
cores = 1
sockets = 1
#cpu = "x86-64-v2-AES"
# VM Hard Drive Setting
scsihw = "virtio-scsi-single"
disks {
scsi {
scsi0 {
disk {
size = "100G"
storage = "Data"
format = "qcow2"
}
}
}
}
# VM Memory Settings
memory = 1024
# VM Cloud-Init Settings
os_type = "cloud-init"
# (Optional) IP Address and Gateway
ipconfig0 = "ip=192.168.2.99/22,gw=192.168.0.1"
# (Optional) Default User
# ciuser = "your-username"
# (Optional) Add your SSH KEY
# sshkeys = <<EOF
# #YOUR-PUBLIC-SSH-KEY
# EOF
}