add example for feature and unprivileged

This commit is contained in:
Andreas Gruhler 2019-06-20 22:34:43 +02:00
parent 2bafe382b3
commit 73cd5e4a2c

View File

@ -6,7 +6,9 @@ provider "proxmox" {
} }
resource "proxmox_lxc" "lxc-test" { resource "proxmox_lxc" "lxc-test" {
force = true features {
nesting = true
}
hostname = "terraform-new-container" hostname = "terraform-new-container"
network { network {
id = 0 id = 0
@ -20,4 +22,5 @@ resource "proxmox_lxc" "lxc-test" {
pool = "terraform" pool = "terraform"
storage = "local-lvm" storage = "local-lvm"
target_node = "node-01" target_node = "node-01"
unprivileged = true
} }