Hello,
So, I'm having a but of trouble with my meta-data service and I was wondering if anyone might have a little insight.
I'm using curl as my meta-data service and using a little script in the rc.local file to create and append my authorized_keys file. However the command that connects to my meta-data service isn't working.
I'm using:
curl -m 10 -s http://169.254.169.254/latest/meta-d.../0/openssh-key | grep 'ssh-rsa'
When I use that command my apache error log returns:
File does not exist: /var/www/latest
When I go to the directory on my CC, all I have is an index.html that says I haven't added anything yet.
Am I missing something? Does anyone else have a better way to pass the rsa data to the instance?
Bookmarks