Skip to content

Commit

Permalink
fix(docs): Mention alternate valid use of Volid's for containers (#1407)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Lingohr <lingfish@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
  • Loading branch information
lingfish and bpg committed Jun 25, 2024
1 parent 0324f51 commit 763654a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/resources/virtual_environment_container.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ resource "proxmox_virtual_environment_container" "ubuntu_container" {
operating_system {
template_file_id = proxmox_virtual_environment_file.latest_ubuntu_22_jammy_lxc_img.id
# Or you can use a volume ID, as obtained from a "pvesm list <storage>"
# template_file_id = "local:vztmpl/jammy-server-cloudimg-amd64.tar.gz"
type = "ubuntu"
}
Expand Down Expand Up @@ -187,6 +189,8 @@ output "ubuntu_container_public_key" {
- `node_name` - (Required) The name of the node to assign the container to.
- `operating_system` - (Required) The Operating System configuration.
- `template_file_id` - (Required) The identifier for an OS template file.
The ID format is `<datastore_id>:<content_type>/<file_name>`, for example `local:iso/jammy-server-cloudimg-amd64.tar.gz`. Can be also taken from
`proxmox_virtual_environment_download_file` resource, or from the output of `pvesm list <storage>`.
- `type` - (Optional) The type (defaults to `unmanaged`).
- `alpine` - Alpine.
- `archlinux` - Arch Linux.
Expand Down

0 comments on commit 763654a

Please sign in to comment.