fixed tf issues
Some checks failed
continuous-integration/drone Build was killed
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-27 12:44:11 +02:00
parent f667406033
commit 2a5e6995a0
2 changed files with 11 additions and 2 deletions

View File

@@ -0,0 +1,91 @@
resource "proxmox_virtual_environment_vm" "nextcloud_aio" {
acpi = true
bios = "ovmf"
vm_id = 111
node_name = "proxmox"
scsi_hardware = "virtio-scsi-single"
name = "nextcloud-aio"
started = true
tablet_device = true
tags = []
template = false
agent {
enabled = true
timeout = "15m"
trim = false
}
cpu {
architecture = "x86_64"
cores = 4
flags = []
hotplugged = 0
numa = false
sockets = 1
type = "host"
units = 1024
}
efi_disk {
datastore_id = "local"
file_format = "qcow2"
pre_enrolled_keys = true
type = "4m"
}
disk {
datastore_id = "local"
ssd = true
size = 900
file_format = "qcow2"
interface = "scsi0"
}
initialization {
datastore_id = "local"
interface = "ide0"
ip_config {
ipv4 {
address = "10.20.1.8/16"
gateway = "10.20.0.1"
}
ipv6 {
address = "auto"
}
}
user_account {
keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHRYu07KxH1k+RvQ0JjDeLslwEgmWNdU5xtgYXCHoG7L tim@matabi",
]
username = "tim"
}
}
memory {
dedicated = 8192
floating = 0
shared = 0
}
network_device {
bridge = "vmbr0"
enabled = true
firewall = true
mac_address = "7A:D1:F3:47:8D:1B"
model = "virtio"
mtu = 0
rate_limit = 0
vlan_id = 0
}
operating_system {
type = "l26"
}
vga {
enabled = true
}
}