Use wget instead of curl when bootstrapping

This commit is contained in:
Dan Callahan
2015-11-09 22:52:58 -06:00
parent bb9fd8b320
commit a49adef9b0
5 changed files with 12 additions and 14 deletions

View File

@@ -35,7 +35,7 @@ end
version = "v0.4.4"
dokku_root = ENV["DOKKU_ROOT"] || "/home/dokku"
admin_keys = `cat /root/.ssh/authorized_keys`.split("\n")
hostname = `bash -c '[[ $(dig +short $HOSTNAME) ]] && echo $HOSTNAME || curl icanhazip.com'`.strip
hostname = `bash -c '[[ $(dig +short $HOSTNAME) ]] && echo $HOSTNAME || wget -q -O - icanhazip.com'`.strip
template = DATA.read
set :port, 2000