mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-10-04 17:51:09 +00:00
336b5842fe
This reverts commit d596852f8c
.
27 lines
612 B
HCL
27 lines
612 B
HCL
provider "proxmox" {
|
|
pm_tls_insecure = true
|
|
pm_api_url = "https://proxmox.org/api2/json"
|
|
pm_password = "supersecret"
|
|
pm_user = "terraform-user@pve"
|
|
}
|
|
|
|
resource "proxmox_lxc" "lxc-test" {
|
|
features {
|
|
nesting = true
|
|
}
|
|
hostname = "terraform-new-container"
|
|
network {
|
|
id = 0
|
|
name = "eth0"
|
|
bridge = "vmbr0"
|
|
ip = "dhcp"
|
|
ip6 = "dhcp"
|
|
}
|
|
ostemplate = "shared:vztmpl/centos-7-default_20171212_amd64.tar.xz"
|
|
password = "rootroot"
|
|
pool = "terraform"
|
|
storage = "local-lvm"
|
|
target_node = "node-01"
|
|
unprivileged = true
|
|
}
|