Skip to content

Instantly share code, notes, and snippets.

@ay65535
Last active August 29, 2015 14:06
Show Gist options
  • Save ay65535/5c64117bea45649529de to your computer and use it in GitHub Desktop.
Save ay65535/5c64117bea45649529de to your computer and use it in GitHub Desktop.
downloads 5 different versions of cloud-set-guest-password (for CloudStack)
#!/bin/sh
# usage:
# wget "https://gist.githubusercontent.com/ay65535/5c64117bea45649529de/raw/b924203859bb08b2af13bfd50abd6a3bfa68d9e7/wget-cloud-set-guest-password.sh"
# chmod +x wget-cloud-set-guest-password.sh
# ./wget-cloud-set-guest-password.sh
# 2011-02-10
wget "http://sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fcloudstack%2FPassword+Management+Scripts%2Fget_password_from_domr" -O get_password_from_domr
# 2011-02-24
wget "http://sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fcloudstack%2FPassword+Management+Scripts%2Fcloud-set-guest-password" -O cloud-set-guest-password
# 2013-08-10
wget "http://download.cloud.com/templates/4.2/bindir/cloud-set-guest-password.in" -O cloud-set-guest-password.in
# 2014-07-17
wget "https://raw.githubusercontent.com/shankerbalan/cloudstack-scripts/master/cloud-set-guest-password-centos" -O cloud-set-guest-password-centos
touch -d '2014-01-17 11:49:57 +0100' cloud-set-guest-password-centos
# 2014-07-31
wget "https://gist.githubusercontent.com/aclock/4afb8beb01c1228829a1/raw/5a0d635fddbef7291f2f7d5d0877c6e627e40d76/file0.txt" -O cloud-set-guest-password-CentOS70
touch -d '2014-07-31 12:10:34 +0900' cloud-set-guest-password-CentOS70
wget "https://gist.githubusercontent.com/aclock/a26b3abbdcc691457cc9/raw/b3204d6983d4386e4a1e3fafb4832eea2f27baf2/file0.txt" -O cloud-set-client-password-CentOS70.service
touch -d '2014-07-31 15:13:07 +0900' cloud-set-client-password-CentOS70.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment