]> git.proxmox.com Git - pve-access-control.git/commitdiff
pveum: don't unconditionally create auth key
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 6 Nov 2019 12:36:27 +0000 (13:36 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 8 Nov 2019 11:19:23 +0000 (12:19 +0100)
anything that uses it should already generate it anyway.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
pveum

diff --git a/pveum b/pveum
index 196fb3a614d5f71c1b4057498d8ac641a80d3529..34ed82cc748757e39a39eb0e8677ea6b32504ba5 100755 (executable)
--- 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();