[pve-devel] [PATCH access-control 06/13] pveum: don't unconditionally create auth key

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Nov 6 13:36:27 CET 2019


anything that uses it should already generate it anyway.

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 pveum | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/pveum b/pveum
index 196fb3a..34ed82c 100755
--- a/pveum
+++ b/pveum
@@ -5,9 +5,4 @@ use warnings;
 
 use PVE::CLI::pveum;
 
-my $prepare = sub {
-    # autmatically generate the private key if it does not already exists
-    PVE::Cluster::gen_auth_key();
-};
-
-PVE::CLI::pveum->run_cli_handler(prepare => $prepare);
+PVE::CLI::pveum->run_cli_handler();
-- 
2.20.1





More information about the pve-devel mailing list