xiaodongwang 41676f96c9 update cobbler snippets
Change-Id: I74a4c844da915a51cc714c5a30919f5863e7ae26
2014-04-14 11:36:07 -07:00

7 lines
150 B
Plaintext

mkdir -p /root/.ssh
chmod 700 -R /root/.ssh
cat << EOL >> /root/.ssh/authorized_keys
$SNIPPET('id_rsa.pub')
EOL
chmod 600 /root/.ssh/authorized_keys