mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-08-22 19:38:35 +00:00
chore(lxc): update list of supported OS-es in operating_system.type
(#1548)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
parent
e23d2f375c
commit
14a62a712a
@ -139,13 +139,11 @@ output "ubuntu_container_public_key" {
|
|||||||
- `ip_config` - (Optional) The IP configuration (one block per network
|
- `ip_config` - (Optional) The IP configuration (one block per network
|
||||||
device).
|
device).
|
||||||
- `ipv4` - (Optional) The IPv4 configuration.
|
- `ipv4` - (Optional) The IPv4 configuration.
|
||||||
- `address` - (Optional) The IPv4 address (use `dhcp` for
|
- `address` - (Optional) The IPv4 address (use `dhcp` for auto-discovery).
|
||||||
autodiscovery).
|
|
||||||
- `gateway` - (Optional) The IPv4 gateway (must be omitted
|
- `gateway` - (Optional) The IPv4 gateway (must be omitted
|
||||||
when `dhcp` is used as the address).
|
when `dhcp` is used as the address).
|
||||||
- `ipv6` - (Optional) The IPv4 configuration.
|
- `ipv6` - (Optional) The IPv4 configuration.
|
||||||
- `address` - (Optional) The IPv6 address (use `dhcp` for
|
- `address` - (Optional) The IPv6 address (use `dhcp` for auto-discovery).
|
||||||
autodiscovery).
|
|
||||||
- `gateway` - (Optional) The IPv6 gateway (must be omitted
|
- `gateway` - (Optional) The IPv6 gateway (must be omitted
|
||||||
when `dhcp` is used as the address).
|
when `dhcp` is used as the address).
|
||||||
- `user_account` - (Optional) The user account configuration.
|
- `user_account` - (Optional) The user account configuration.
|
||||||
@ -189,15 +187,17 @@ output "ubuntu_container_public_key" {
|
|||||||
- `node_name` - (Required) The name of the node to assign the container to.
|
- `node_name` - (Required) The name of the node to assign the container to.
|
||||||
- `operating_system` - (Required) The Operating System configuration.
|
- `operating_system` - (Required) The Operating System configuration.
|
||||||
- `template_file_id` - (Required) The identifier for an OS template file.
|
- `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
|
The ID format is `<datastore_id>:<content_type>/<file_name>`, for example `local:iso/jammy-server-cloudimg-amd64.tar.gz`.
|
||||||
`proxmox_virtual_environment_download_file` resource, or from the output of `pvesm list <storage>`.
|
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`).
|
- `type` - (Optional) The type (defaults to `unmanaged`).
|
||||||
- `alpine` - Alpine.
|
- `alpine` - Alpine.
|
||||||
- `archlinux` - Arch Linux.
|
- `archlinux` - Arch Linux.
|
||||||
- `centos` - CentOS.
|
- `centos` - CentOS.
|
||||||
- `debian` - Debian.
|
- `debian` - Debian.
|
||||||
|
- `devuan` - Devuan.
|
||||||
- `fedora` - Fedora.
|
- `fedora` - Fedora.
|
||||||
- `gentoo` - Gentoo.
|
- `gentoo` - Gentoo.
|
||||||
|
- `nixos` - NixOS.
|
||||||
- `opensuse` - openSUSE.
|
- `opensuse` - openSUSE.
|
||||||
- `ubuntu` - Ubuntu.
|
- `ubuntu` - Ubuntu.
|
||||||
- `unmanaged` - Unmanaged.
|
- `unmanaged` - Unmanaged.
|
||||||
|
@ -45,6 +45,7 @@ func OperatingSystemTypeValidator() schema.SchemaValidateDiagFunc {
|
|||||||
"archlinux",
|
"archlinux",
|
||||||
"centos",
|
"centos",
|
||||||
"debian",
|
"debian",
|
||||||
|
"devuan",
|
||||||
"fedora",
|
"fedora",
|
||||||
"gentoo",
|
"gentoo",
|
||||||
"nixos",
|
"nixos",
|
||||||
|
Loading…
Reference in New Issue
Block a user