38 lines
993 B
HCL
38 lines
993 B
HCL
module "lxc_packer_main" {
|
|
source = "../../../modules/proxmox/lxc"
|
|
|
|
vm_id = var.lxc_packer_main_vm_id
|
|
hostname = var.lxc_packer_main_hostname
|
|
target_node = var.target_node
|
|
|
|
template_file_id = var.lxc_template_file_id
|
|
os_type = var.lxc_os_type
|
|
|
|
unprivileged = var.lxc_unprivileged
|
|
nesting = var.lxc_nesting
|
|
|
|
cores = var.lxc_cores
|
|
cpu_units = var.lxc_cpu_units
|
|
memory = var.lxc_memory
|
|
swap = var.lxc_swap
|
|
|
|
rootfs_storage = var.lxc_rootfs_storage
|
|
rootfs_size_gib = var.lxc_rootfs_size_gib
|
|
|
|
bridge = var.bridge
|
|
netif_name = var.lxc_netif_name
|
|
firewall = var.lxc_firewall
|
|
|
|
ipv4_address = var.lxc_ipv4_address
|
|
ipv4_gateway = var.lxc_ipv4_gateway
|
|
|
|
dns_domain = var.lxc_dns_domain
|
|
dns_servers = var.lxc_dns_servers
|
|
|
|
started = var.lxc_started
|
|
start_on_boot = var.lxc_start_on_boot
|
|
|
|
password = var.lxc_root_password
|
|
ssh_public_keys = var.lxc_ssh_public_keys
|
|
}
|