fixing some errors
This commit is contained in:
11
nas.tf
11
nas.tf
@@ -7,9 +7,7 @@ resource "proxmox_vm_qemu" "nas" {
|
|||||||
bootdisk = null
|
bootdisk = null
|
||||||
ciupgrade = false
|
ciupgrade = false
|
||||||
ciuser = "root"
|
ciuser = "root"
|
||||||
cores = 0
|
|
||||||
cpu_type = null
|
cpu_type = null
|
||||||
current_node = "ryuk"
|
|
||||||
define_connection_info = false
|
define_connection_info = false
|
||||||
description = "nas storage"
|
description = "nas storage"
|
||||||
force_create = false
|
force_create = false
|
||||||
@@ -20,18 +18,14 @@ resource "proxmox_vm_qemu" "nas" {
|
|||||||
id = "301"
|
id = "301"
|
||||||
ipconfig0 = "ip=192.168.0.50/24,gw=192.168.0.1"
|
ipconfig0 = "ip=192.168.0.50/24,gw=192.168.0.1"
|
||||||
kvm = true
|
kvm = true
|
||||||
linked_vmid = 0
|
|
||||||
machine = null
|
machine = null
|
||||||
memory = 4024
|
memory = 4024
|
||||||
name = "nas"
|
name = "nas"
|
||||||
numa = false
|
|
||||||
onboot = true
|
onboot = true
|
||||||
pool = null
|
pool = null
|
||||||
protection = false
|
protection = false
|
||||||
qemu_os = "l26"
|
qemu_os = "l26"
|
||||||
reboot_required = false
|
|
||||||
scsihw = "lsi"
|
scsihw = "lsi"
|
||||||
sockets = 0
|
|
||||||
sshkeys = <<-EOT
|
sshkeys = <<-EOT
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop
|
||||||
EOT
|
EOT
|
||||||
@@ -41,7 +35,6 @@ resource "proxmox_vm_qemu" "nas" {
|
|||||||
target_nodes = [
|
target_nodes = [
|
||||||
"ryuk",
|
"ryuk",
|
||||||
]
|
]
|
||||||
unused_disk = []
|
|
||||||
vcpus = 0
|
vcpus = 0
|
||||||
vm_state = "running"
|
vm_state = "running"
|
||||||
vmid = 301
|
vmid = 301
|
||||||
@@ -60,8 +53,6 @@ resource "proxmox_vm_qemu" "nas" {
|
|||||||
disks {
|
disks {
|
||||||
scsi {
|
scsi {
|
||||||
scsi0 {
|
scsi0 {
|
||||||
ignore = false
|
|
||||||
|
|
||||||
disk {
|
disk {
|
||||||
asyncio = "native"
|
asyncio = "native"
|
||||||
backup = true
|
backup = true
|
||||||
@@ -93,8 +84,6 @@ resource "proxmox_vm_qemu" "nas" {
|
|||||||
}
|
}
|
||||||
virtio {
|
virtio {
|
||||||
virtio0 {
|
virtio0 {
|
||||||
ignore = false
|
|
||||||
|
|
||||||
disk {
|
disk {
|
||||||
asyncio = "native"
|
asyncio = "native"
|
||||||
backup = false
|
backup = false
|
||||||
|
|||||||
Reference in New Issue
Block a user