Skip to content

Instantly share code, notes, and snippets.

@YoshihitoAso
Created January 27, 2013 01:10
Show Gist options
  • Save YoshihitoAso/4645651 to your computer and use it in GitHub Desktop.
Save YoshihitoAso/4645651 to your computer and use it in GitHub Desktop.
cloud-initでPython版AWS Cliをアップデートするスクリプト
#!/bin/sh
set -e
trap 'echo "NG: $?"' ERR
pip-python install awscli --upgrade 2>&1 | logger -s -t ${0##*/}
exit 0
deploy
# cd /var/lib/cloud/scripts/per-once
# ln -s /opt/suz-lab/bin/update-awscli update-awscli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment