diff --git a/nas.tf b/nas.tf index bcd2496..85240f4 100644 --- a/nas.tf +++ b/nas.tf @@ -1,78 +1,151 @@ resource "proxmox_vm_qemu" "nas" { - - # VM General Settings - target_node = "ryuk" - vmid = "301" - name = "nas" - description = "nas storage" + agent = 0 + args = null + balloon = 0 + bios = "seabios" + boot = "order=net0;scsi0" + bootdisk = null + cipassword = (sensitive value) + ciupgrade = false + ciuser = "root" + cores = 0 + cpu_type = null + current_node = "ryuk" + define_connection_info = false + desc = "nas storage" + force_create = false + full_clone = false + hagroup = null + hastate = null + hotplug = "network,disk,usb" + id = "301" + ipconfig0 = "ip=192.168.0.50/24,gw=192.168.0.1" + kvm = true + linked_vmid = 0 + machine = null + 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 - # VM Advanced General Settings - onboot = true - - # VM OS Settings - clone = "Debian12Template" - - # VM System Settings - # agent = 1 - - # VM CPU Settings - - - # VM Memory Settings - memory = 4024 + cpu { + affinity = null + cores = 6 + limit = 0 + numa = false + sockets = 1 + type = "host" + units = 0 + vcores = 0 + } disks { scsi { scsi0 { + ignore = false + disk { - backup = true - cache = "none" - asyncio = "native" - discard = true - emulatessd = true - iothread = true - mbps_r_burst = 0.0 - mbps_r_concurrent = 0.0 - mbps_wr_burst = 0.0 - mbps_wr_concurrent = 0.0 - replicate = true - size = "42G" - storage = "local-lvm" + asyncio = "native" + backup = true + cache = "none" + discard = 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 + linked_disk_id = -1 + mbps_r_burst = 0 + mbps_r_concurrent = 0 + mbps_wr_burst = 0 + mbps_wr_concurrent = 0 + readonly = false + replicate = true + serial = null + size = "42G" + storage = "local-lvm" + wwn = null } } } virtio { virtio0 { + ignore = false + disk { - asyncio = "native" - backup = false - iothread = true - size = "8T" - storage = "Ceph" - format = "raw" + asyncio = "native" + 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 + 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" + storage = "Ceph" + wwn = null } } } } - # VM Network Settings network { - id = 1 - bridge = "vmbr0" - model = "virtio" + 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 } - # VM Cloud-Init Settings - os_type = "cloud-init" - - # (Optional) IP Address and Gateway - ipconfig0 = "ip=192.168.0.50/24,gw=192.168.0.1" - - # (Optional) Default User - ciuser = "root" - - # (Optional) Add your SSH KEY - sshkeys = <