add-openeuler-anolis-in-lxc-config

This commit is contained in:
jiangcuo 2024-12-05 19:04:47 +08:00
parent a882974bea
commit 96720adfbc
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index 0452d4a..bf85cff 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -480,7 +480,7 @@ my $confdesc = {
ostype => {
optional => 1,
type => 'string',
- enum => [qw(debian devuan ubuntu centos fedora opensuse archlinux alpine gentoo nixos unmanaged)],
+ enum => [qw(debian devuan ubuntu centos fedora opensuse archlinux alpine gentoo nixos openeuler anolis unmanaged)],
description => "OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.",
},
console => {

View File

@ -2,3 +2,4 @@ patches/001-add-loongarch-support.patch
patches/002-add-anolis.patch
patches/003-set-unknown-ostype-to-unmanaged.patch
patches/changelog/001-bump-version-to-5.2.2+port1.patch
patches/004-add-openeuler-anolis-in-lxc-config.patch