]> git.proxmox.com Git - pve-manager.git/commitdiff
pveceph init: allow protocol http
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 23 Apr 2015 04:11:38 +0000 (06:11 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 23 Apr 2015 04:22:26 +0000 (06:22 +0200)
It is no longer possible to download the key without that.

bin/pveceph

index a9094cb585e6bee36b8368f6f8bfa4d6d003f4e5..45e2165680436e33574d104489c3a2183cfe0f4b 100755 (executable)
@@ -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) {