we have to that here, so the properties/options are correctly configured when using that feature on the cli
Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> --- changes from v2: * call init() instead of init(1) since the plugin already does that for us src/PVE/CLI/pct.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/PVE/CLI/pct.pm b/src/PVE/CLI/pct.pm index a0b9bce..e579b7a 100755 --- a/src/PVE/CLI/pct.pm +++ b/src/PVE/CLI/pct.pm @@ -24,6 +24,12 @@ use PVE::API2::LXC::Snapshot; use PVE::API2::LXC::Status; use PVE::API2::LXC; +use PVE::Profiles::Plugin; +use PVE::Profiles::CT; + +PVE::Profiles::CT->register(); +PVE::Profiles::Plugin->init(); + use base qw(PVE::CLIHandler); my $nodename = PVE::INotify::nodename(); -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel