This commit is contained in:
Mike McFetridge
2026-07-20 09:23:17 -04:00
parent c1315882da
commit 72272e4006
3179 changed files with 562960 additions and 14 deletions
+39
View File
@@ -0,0 +1,39 @@
resource "proxmox_lxc" "<< resource_name >>" {
hostname = "<< hostname >>"
<%- if description %>
description = "<< description >>"
<%- endif %>
target_node = "<< target_node >>"
unprivileged = << unprivileged | lower >>
ostemplate = "<< ostemplate >>"
cores = << cores >>
swap = << swap_mb >>
memory = << memory_mb >>
start = << start_container | lower >>
rootfs {
storage = "<< rootfs_storage >>"
size = "<< rootfs_size_gb >>G"
}
nameserver = "<< nameserver >>"
<%- if searchdomain %>
searchdomain = "<< searchdomain >>"
<%- endif %>
network {
name = "<< network_name >>"
bridge = "<< bridge >>"
ip = "<< ip_address >>"
}
lifecycle {
ignore_changes = [
rootfs,
network,
cmode
]
}
}