/srv/irclogs.ubuntu.com/2015/03/12/#cloud-init.txt

=== harlowja_ is now known as harlowja_away
steveporter92hi im having trouble executing the awscli tool from my cloud-init config on ec216:19
steveporter92in runcmd:16:20
steveporter92im pip installing the awscli16:20
steveporter92and running - 'aws s3 cp --region eu-west-1 s3://repo/puppet-latest.tar.gz /tmp/puppet-latest.tar.gz'16:20
steveporter92but it throws the error /var/lib/cloud/instance/scripts/runcmd: 5: /var/lib/cloud/instance/scripts/runcmd: aws: not found16:21
steveporter92in my log16:21
steveporter92any ideas?16:27
Odd_Blokesteveporter92: Is awscli installed?16:28
Odd_Bloke(Check the log to see if it's actually being installed before your script is run; I can't remember what order things happen in)16:28
smosersteveporter92, its either ordering or path16:32
smoserruncmd may not have /usr/local/bin in its path, i think it should, but may not.16:32
smoser /var/log/cloud-init-output.log should show you some more info. you can also just try running that command yourself.16:33
steveporter92yeah it was the path16:40
steveporter92thanks guys :)16:40
=== harlowja_away is now known as harlowja_

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!