[pve-devel] [PATCH container v3 3/3] pct: register and init the profiles plugins

Dominik Csapak d.csapak at proxmox.com
Thu Nov 16 15:09:20 CET 2023

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.csapak at 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;
 use base qw(PVE::CLIHandler);
 my $nodename = PVE::INotify::nodename();

More information about the pve-devel mailing list