Files
Terraform/nas.tf
2025-08-24 22:51:17 -05:00

113 lines
3.4 KiB
HCL

resource "proxmox_vm_qemu" "nas" {
agent = 0
args = null
balloon = 0
bios = "seabios"
boot = "order=net0;scsi0"
bootdisk = null
ciupgrade = false
ciuser = "root"
cpu_type = null
define_connection_info = false
description = "nas storage"
force_create = false
full_clone = false
hagroup = null
hastate = null
hotplug = "network,disk,usb"
vmid = "301"
ipconfig0 = "ip=192.168.0.50/24,gw=192.168.0.1"
kvm = true
machine = null
memory = 4024
name = "nas"
onboot = true
pool = null
protection = false
qemu_os = "l26"
scsihw = "lsi"
sshkeys = <<-EOT
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop
EOT
startup = null
tablet = true
tags = null
target_nodes = [
"ryuk",
]
cpu {
affinity = null
cores = 6
limit = 0
numa = false
sockets = 1
type = "host"
units = 0
vcores = 0
}
disks {
scsi {
scsi0 {
disk {
asyncio = "native"
backup = true
cache = "none"
discard = true
emulatessd = true
format = "raw"
iothread = true
readonly = false
replicate = true
serial = null
size = "42G"
storage = "local-lvm"
wwn = null
}
}
}
virtio {
virtio0 {
disk {
asyncio = "native"
backup = false
cache = null
discard = false
format = "raw"
iothread = true
readonly = false
replicate = false
serial = null
size = "8T"
storage = "Ceph"
wwn = null
}
}
}
}
network {
bridge = "vmbr0"
firewall = false
id = 0
link_down = false
macaddr = "ae:dd:45:0f:ee:eb"
model = "virtio"
mtu = 0
queues = 0
rate = 0
tag = 0
}
smbios {
family = null
manufacturer = null
product = null
serial = null
sku = null
uuid = "0fe6b111-6c0a-4373-9eea-a072b946baf7"
version = null
}
}