new nas config

This commit is contained in:
tolerryan
2025-08-24 22:34:24 -05:00
parent 7c99734da4
commit 6144f45615

155
nas.tf
View File

@@ -1,78 +1,151 @@
resource "proxmox_vm_qemu" "nas" { resource "proxmox_vm_qemu" "nas" {
agent = 0
# VM General Settings args = null
target_node = "ryuk" balloon = 0
vmid = "301" bios = "seabios"
name = "nas" boot = "order=net0;scsi0"
description = "nas storage" bootdisk = null
cipassword = (sensitive value)
# VM Advanced General Settings ciupgrade = false
onboot = true ciuser = "root"
cores = 0
# VM OS Settings cpu_type = null
clone = "Debian12Template" current_node = "ryuk"
define_connection_info = false
# VM System Settings desc = "nas storage"
# agent = 1 force_create = false
full_clone = false
# VM CPU Settings hagroup = null
hastate = null
hotplug = "network,disk,usb"
# VM Memory Settings id = "301"
ipconfig0 = "ip=192.168.0.50/24,gw=192.168.0.1"
kvm = true
linked_vmid = 0
machine = null
memory = 4024 memory = 4024
name = "nas"
numa = false
onboot = true
pool = null
protection = false
qemu_os = "l26"
reboot_required = false
scsihw = "lsi"
sockets = 0
sshkeys = <<-EOT
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop
EOT
startup = null
tablet = true
tags = null
target_nodes = [
"ryuk",
]
unused_disk = []
vcpus = 0
vm_state = "running"
vmid = 301
cpu {
affinity = null
cores = 6
limit = 0
numa = false
sockets = 1
type = "host"
units = 0
vcores = 0
}
disks { disks {
scsi { scsi {
scsi0 { scsi0 {
ignore = false
disk { disk {
asyncio = "native"
backup = true backup = true
cache = "none" cache = "none"
asyncio = "native"
discard = true discard = true
emulatessd = true emulatessd = true
format = "raw"
id = 0
iops_r_burst = 0
iops_r_burst_length = 0
iops_r_concurrent = 0
iops_wr_burst = 0
iops_wr_burst_length = 0
iops_wr_concurrent = 0
iothread = true iothread = true
mbps_r_burst = 0.0 linked_disk_id = -1
mbps_r_concurrent = 0.0 mbps_r_burst = 0
mbps_wr_burst = 0.0 mbps_r_concurrent = 0
mbps_wr_concurrent = 0.0 mbps_wr_burst = 0
mbps_wr_concurrent = 0
readonly = false
replicate = true replicate = true
serial = null
size = "42G" size = "42G"
storage = "local-lvm" storage = "local-lvm"
wwn = null
} }
} }
} }
virtio { virtio {
virtio0 { virtio0 {
ignore = false
disk { disk {
asyncio = "native" asyncio = "native"
backup = false backup = false
cache = null
discard = false
format = "raw"
id = 0
iops_r_burst = 0
iops_r_burst_length = 0
iops_r_concurrent = 0
iops_wr_burst = 0
iops_wr_burst_length = 0
iops_wr_concurrent = 0
iothread = true iothread = true
linked_disk_id = -1
mbps_r_burst = 0
mbps_r_concurrent = 0
mbps_wr_burst = 0
mbps_wr_concurrent = 0
readonly = false
replicate = false
serial = null
size = "8T" size = "8T"
storage = "Ceph" storage = "Ceph"
format = "raw" wwn = null
} }
} }
} }
} }
# VM Network Settings
network { network {
id = 1
bridge = "vmbr0" bridge = "vmbr0"
firewall = false
id = 0
link_down = false
macaddr = "ae:dd:45:0f:ee:eb"
model = "virtio" model = "virtio"
mtu = 0
queues = 0
rate = 0
tag = 0
} }
# VM Cloud-Init Settings smbios {
os_type = "cloud-init" family = null
manufacturer = null
# (Optional) IP Address and Gateway product = null
ipconfig0 = "ip=192.168.0.50/24,gw=192.168.0.1" serial = null
sku = null
# (Optional) Default User uuid = "0fe6b111-6c0a-4373-9eea-a072b946baf7"
ciuser = "root" version = null
}
# (Optional) Add your SSH KEY
sshkeys = <<EOF
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop
EOF
} }