From e623414a30cf947caf64c814a826a19929edbdd1 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 2 May 2017 10:39:22 +0200 Subject: [PATCH] PVE/CLI/pveum.pm: call setup_default_cli_env() --- PVE/CLI/pveum.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PVE/CLI/pveum.pm b/PVE/CLI/pveum.pm index 8a8edc5..aef7089 100755 --- a/PVE/CLI/pveum.pm +++ b/PVE/CLI/pveum.pm @@ -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}); -- 2.39.5