PVE/CLI/pveum.pm: call setup_default_cli_env()
[pve-access-control.git] / PVE / CLI / pveum.pm
index 8a8edc5..aef7089 100755 (executable)
@@ -21,6 +21,10 @@ use PVE::CLIHandler;
 
 use base qw(PVE::CLIHandler);
 
+sub setup_environment {
+    PVE::RPCEnvironment->setup_default_cli_env();
+}
+
 sub read_password {
     # return $ENV{PVE_PW_TICKET} if defined($ENV{PVE_PW_TICKET});