Merge pull request #573 from chalupaul/master

missing .ssh directory
This commit is contained in:
Matt Thompson
2014-11-20 11:51:42 +00:00

View File

@@ -102,6 +102,10 @@ if [ -f "/opt/swap.sh" ];then
fi
# Make the system key used for bootstrapping self
if [ ! -d /root/.ssh ];then
mkdir -p /root/.ssh
chmod 700 /root/.ssh
fi
pushd /root/.ssh/
if [ ! -f "id_rsa" ];then
key_create