]> git.proxmox.com Git - pve-cluster.git/commit
updatecerts: create base directories of observed files
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 30 Apr 2020 15:30:44 +0000 (17:30 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 30 Apr 2020 15:30:46 +0000 (17:30 +0200)
commit462c16b75894075f9fcadfc215d8209b72a905b4
treee606bfd3919bfba7973427b7734cecea68bdfce7
parentb1ad614ccaa2cd736f0a8111630e695eb8c28c7c
updatecerts: create base directories of observed files

replaces the random hacks where we do some hail-mary mkdir in a
writer or the like, to ensure that the directory structure exists and
we can write safely.

more central and safer would be pmxcfs itself, but to late in the
release cycle to do that now.

Chicken out if pmxcfs is not mounted, we don't want to trash it's
(future) mountpoint..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/CLI/pvecm.pm
data/PVE/Cluster.pm