changed structure and added drone ci
This commit is contained in:
83
infrastructure/nextcloud-aio.tf
Normal file
83
infrastructure/nextcloud-aio.tf
Normal file
@@ -0,0 +1,83 @@
|
||||
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 = "x86-64-v2-AES"
|
||||
units = 1024
|
||||
}
|
||||
|
||||
efi_disk {
|
||||
datastore_id = "local"
|
||||
file_format = "qcow2"
|
||||
pre_enrolled_keys = true
|
||||
type = "4m"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user