Replace chown with chmod
Chmod was accidentally used instead of chown in the metadata script. Change-Id: I34d550bd57d7858250f8039c48bc52645923bb5b
This commit is contained in:
parent
aea5928b1c
commit
9698c519c7
|
@ -2,9 +2,9 @@
|
|||
|
||||
mkdir -p /root/.ssh
|
||||
cd /root/.ssh
|
||||
chown 700 .
|
||||
chmod 700 .
|
||||
[ -f authorized_keys ] || touch authorized_keys
|
||||
chown 600 authorized_keys
|
||||
chmod 600 authorized_keys
|
||||
|
||||
url="http://169.254.169.254/2009-04-04/meta-data"
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue