aboutsummaryrefslogtreecommitdiff
path: root/deploy_pki
diff options
context:
space:
mode:
authorAdrien <adrien@luxeylab.net>2023-03-15 17:10:38 +0100
committerAdrien <adrien@luxeylab.net>2023-03-15 17:10:38 +0100
commit031d029e10a3670ee26b0da66cd7d73be5802aa9 (patch)
tree6652025e521988cf4ea8a1b53a8a089854c41cab /deploy_pki
parentc681f63222d269eaa8c47cd36307a958cbe5f398 (diff)
downloadnixcfg-031d029e10a3670ee26b0da66cd7d73be5802aa9.tar.gz
nixcfg-031d029e10a3670ee26b0da66cd7d73be5802aa9.zip
added scorpio site and abricot node
Diffstat (limited to 'deploy_pki')
-rwxr-xr-xdeploy_pki2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy_pki b/deploy_pki
index 471ff63..63c237b 100755
--- a/deploy_pki
+++ b/deploy_pki
@@ -30,7 +30,7 @@ for file in nomad-ca.crt nomad$YEAR.crt nomad$YEAR.key \
do
if pass $PKI/$file >/dev/null; then
write_pass $PKI/$file /var/lib/nomad/pki/$file
- cmd "chown \$(stat -c %u /var/lib/nomad/client/client-id) /var/lib/nomad/pki/$file"
+ cmd "chown \$(stat -c %u /var/lib/private/nomad/) /var/lib/nomad/pki/$file"
fi
done