This commit is contained in:
parent
4ed9ba0d24
commit
a90630ecb6
98 changed files with 2063 additions and 729 deletions
52
proxmox-infra/main.tf
Normal file
52
proxmox-infra/main.tf
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
# # This calls the module to define a new VM (e.g., if you were creating one)
|
||||
# resource "proxmox_vm_qemu" "sandbox" {
|
||||
# name = "sandbox"
|
||||
# desc = "OpenTofu testing"
|
||||
# target_nodes = [var.proxmox_node]
|
||||
# vmid= 100
|
||||
# full_clone = true
|
||||
# clone_id = 9100
|
||||
# agent = 1
|
||||
# scsihw = "virtio-scsi-single"
|
||||
# ciuser = "root"
|
||||
# ipconfig0 = "ip=dhcp"
|
||||
# cpu {
|
||||
# cores = 2
|
||||
# }
|
||||
# memory = 2048
|
||||
# disks {
|
||||
# virtio {
|
||||
# virtio0 {
|
||||
# disk {
|
||||
# size = "9452M"
|
||||
# storage = "local-lvm"
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# ide {
|
||||
# ide2 {
|
||||
# cloudinit {
|
||||
# storage = "local-lvm"
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# network {
|
||||
# id = 0
|
||||
# bridge = "vmbr0"
|
||||
# model = "virtio"
|
||||
# }
|
||||
# serial {
|
||||
# id = 0
|
||||
# }
|
||||
# }
|
||||
|
||||
# output "sandbox_vmid" {
|
||||
# description = "sandbox VM ID"
|
||||
# value = proxmox_vm_qemu.sandbox.id
|
||||
# }
|
||||
|
||||
# output "sandbox_ipv4" {
|
||||
# description = "sandbox public IPv4 address"
|
||||
# value = proxmox_vm_qemu.sandbox.default_ipv4_address
|
||||
# }
|
||||
Loading…
Add table
Add a link
Reference in a new issue