From: Dietmar Maurer Date: Thu, 23 Apr 2015 04:11:38 +0000 (+0200) Subject: pveceph init: allow protocol http X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=580267400ad2e859500081c7d9591cdde0125336;p=pve-manager-legacy.git pveceph init: allow protocol http It is no longer possible to download the key without that. --- diff --git a/bin/pveceph b/bin/pveceph index a9094cb5..45e21656 100755 --- a/bin/pveceph +++ b/bin/pveceph @@ -110,7 +110,7 @@ __PACKAGE__->register_method ({ #die "unable to download ceph release key\n"; my $tmp_key_file = "/tmp/ceph-release-keys.asc"; - my $ua = LWP::UserAgent->new(protocols_allowed => ['https'], timeout => 30); + my $ua = LWP::UserAgent->new(protocols_allowed => ['http', 'https'], timeout => 30); $ua->env_proxy; my $response = $ua->get($keyurl); if ($response->is_success) {