]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage/PBSPlugin.pm
namespace storage specific secret files to 'priv/storage' folder
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 Feb 2020 13:51:00 +0000 (14:51 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 Feb 2020 14:00:54 +0000 (15:00 +0100)
commit462537a270ee7375cfaf6d8369ffbf70d9f2aea4
tree7037474aec3fffc4da1e9fc448497b04dc512d84
parent1574a590a5a3ee7c91fef2cfc0f9100134c46fda
namespace storage specific secret files to 'priv/storage' folder

As /etc/pve/priv is already pretty polluted, having a
"<storage-id>.pw" file there smells like it could make problems in
the future.

So let the pbs pw file generator use /etc/pve/priv/storages as base
path.
Other storage should move also to that path in the future, if they
save such secrets anywhere in /etc/pve.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Storage/PBSPlugin.pm