From 9904b8202791a6d1e028b7ca871556e09c9ab119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oto=20Pet=C5=99=C3=ADk?= Date: Sun, 25 Jun 2023 05:09:13 +0200 Subject: [PATCH] fix(lxc): add support for 'nixos' --- CONTRIBUTING.md | 4 ++-- proxmoxtf/resource/container.go | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2dfd22f95..bd3cc4d0d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -35,12 +35,12 @@ We expect that all commit messages follow the Please use the `scope` field to indicate the area of the codebase that is being changed. For example, `vm` for changes in the Virtual Machine resource, or -`lcx` for changes in the Container resource. +`lxc` for changes in the Container resource. Common scopes are: - `vm` - Virtual Machine resources -- `lcx` - Container resources +- `lxc` - Container resources - `provider` - Provider configuration and resources - `core` - Core libraries and utilities - `docs` - Documentation diff --git a/proxmoxtf/resource/container.go b/proxmoxtf/resource/container.go index e179b3836..f7cef5f6a 100644 --- a/proxmoxtf/resource/container.go +++ b/proxmoxtf/resource/container.go @@ -1486,6 +1486,7 @@ func containerGetOperatingSystemTypeValidator() schema.SchemaValidateDiagFunc { "debian", "fedora", "gentoo", + "nixos", "opensuse", "ubuntu", "unmanaged",