mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 05:07:31 +00:00
api subscription: fix permissions for ceph apt-auth file
Use the same one as for the per-product file. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
3d23bdefe6
commit
949c511c4e
@ -106,7 +106,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";
|
||||
PVE::Tools::file_set_contents("/etc/apt/auth.conf.d/ceph.conf", $ceph_auth);
|
||||
PVE::Tools::file_set_contents("/etc/apt/auth.conf.d/ceph.conf", $ceph_auth, 0600);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user