Restrict mode of os-collect-config.conf

This file contains various access codes and shouldn't be world readable.

Change-Id: I1dbd5c3780e42531580833f2f4e0332f18702282
This commit is contained in:
Derek Higgins 2014-01-09 07:56:47 +00:00
parent 29a5a1c82f
commit 113924d45b
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ cat > /etc/os-collect-config.conf <<eof
[DEFAULT]
command=os-refresh-config
eof
chmod 600 /etc/os-collect-config.conf
if [ "$DIB_INIT_SYSTEM" == "upstart" ] ; then
cat > /etc/init/os-collect-config.conf <<eof