projects
/
pve-access-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3641833
)
PVE/CLI/pveum.pm: call setup_default_cli_env()
author
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 2 May 2017 08:39:22 +0000
(10:39 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 2 May 2017 08:39:22 +0000
(10:39 +0200)
PVE/CLI/pveum.pm
patch
|
blob
|
blame
|
history
diff --git
a/PVE/CLI/pveum.pm
b/PVE/CLI/pveum.pm
index 8a8edc5359f6cf8fcfb003bdef3ab92d20b28da2..aef70899551c476c84d27a6274adc92cb8aad9b1 100755
(executable)
--- 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});