Fixes a build failure.

Fixes: 52f670250 ("api subscription: output generic apt-auth stanza for ceph")
Signed-off-by: Christoph Heiss <c.he...@proxmox.com>
---
 PVE/API2/Subscription.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Subscription.pm b/PVE/API2/Subscription.pm
index 838d1bc09..036824f22 100644
--- a/PVE/API2/Subscription.pm
+++ b/PVE/API2/Subscription.pm
@@ -105,7 +105,7 @@ sub write_etc_subscription {
        }
        # add a generic one to handle the case where a new ceph release was 
made available while
        # the subscription info was not yet updated, and as per 
APT_AUTH.CONF(5) start-with matches.
-       $ceph_auth .= "machine enterprise.proxmox.com/debian/ceph login 
$info->{key} password $info->{serverid}\n"
+       $ceph_auth .= "machine enterprise.proxmox.com/debian/ceph login 
$info->{key} password $info->{serverid}\n";
        PVE::Tools::file_set_contents("/etc/apt/auth.conf.d/ceph.conf", 
$ceph_auth);
     }
 }
-- 
2.48.1



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to