Commit 3a6a4f14 authored by Dietmar Maurer's avatar Dietmar Maurer

pveceph init: allow protocol http

It is no longer possible to download the key without that.
parent 701a28ba
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment