2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-12 10:49:17 +00:00

Tighten permissions on /etc/confluent on deployed target

This commit is contained in:
Jarrod Johnson 2020-06-26 15:50:15 -04:00
parent cadb222904
commit df503464d7

View File

@ -10,6 +10,7 @@
nodename=$(grep ^NODENAME /etc/confluent.info|awk '{print $2}')
export mgr profile nodename
cp -a /etc/confluent /mnt/sysimage/etc
chmod -R og-rwx /mnt/sysimage/etc/confluent
cp /tmp/functions /mnt/sysimage/etc/confluent/
. /tmp/functions
cp /tmp/cryptboot /mnt/sysimage/tmp/