From bf394af59857945090d04ec3d302a1dffd86651e Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 23 Apr 2015 06:11:38 +0200 Subject: [PATCH] pveceph init: allow protocol http It is no longer possible to download the key without that. --- bin/pveceph | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {