Supprimer lxc.tf
This commit is contained in:
parent
2845470fe6
commit
f6583049b0
30
lxc.tf
30
lxc.tf
@ -1,30 +0,0 @@
|
||||
resource "proxmox_lxc" "container" {
|
||||
for_each = var.containers
|
||||
|
||||
hostname = each.key
|
||||
target_node = var.target_node
|
||||
ostemplate = lookup(var.lxc_templates, each.value.template, each.value.template)
|
||||
unprivileged = each.value.privileged != true
|
||||
|
||||
cores = each.value.cores
|
||||
memory = each.value.memory
|
||||
swap = 512
|
||||
password = var.lxcrootPass
|
||||
rootfs {
|
||||
storage = var.default_storage
|
||||
size = each.value.disk_size
|
||||
}
|
||||
|
||||
network {
|
||||
name = "eth0"
|
||||
bridge = var.default_bridge
|
||||
tag = each.value.vlan_tag
|
||||
ip = each.value.ip
|
||||
gw = var.default_gateway
|
||||
}
|
||||
|
||||
nameserver = var.dns_servers
|
||||
|
||||
onboot = true
|
||||
start = true
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user