generate random string for hostname
This commit is contained in:
parent
3ce7a2499a
commit
832ab98094
|
@ -2,9 +2,11 @@
|
||||||
|
|
||||||
set -o errexit -o nounset
|
set -o errexit -o nounset
|
||||||
|
|
||||||
|
HOSTNAME=$(cat /dev/urandom | tr -cd 'a-f0-9' | head -c 16)
|
||||||
|
|
||||||
terraform get
|
terraform get
|
||||||
terraform plan
|
terraform plan
|
||||||
terraform apply
|
terraform apply HOSTNAME
|
||||||
|
|
||||||
# echo "Setting git user name"
|
# echo "Setting git user name"
|
||||||
# git config user.name $GH_USER_NAME
|
# git config user.name $GH_USER_NAME
|
||||||
|
|
Loading…
Reference in New Issue