diff --git a/README.md b/README.md index 61e3c6d..a31d0c7 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ gruntwork-install --module-name 'vault-ssh-helper' --tag '0.0.3' ## Installing gruntwork-install ```bash -curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash -s --version 0.0.1 +curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version 0.0.2 ``` Notice the `--version` parameter at the end where you specify which version of `gruntwork-install` to install. See the @@ -77,7 +77,7 @@ and then uses it to install several modules: }], "provisioners": [{ "type": "shell", - "inline": "curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash -s --version 0.0.1" + "inline": "curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version 0.0.2" },{ "type": "shell", "inline": [ diff --git a/bootstrap-gruntwork-installer.sh b/bootstrap-gruntwork-installer.sh index 48ee791..6cb02a1 100755 --- a/bootstrap-gruntwork-installer.sh +++ b/bootstrap-gruntwork-installer.sh @@ -11,7 +11,7 @@ # # So instead, we recommend that clients use this tiny bootstrap script as a one-liner: # -# curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash -s --version 0.0.12 +# curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version 0.0.3 # # You can copy this one-liner into your Packer and Docker templates and immediately after, start using the # gruntwork-install command. @@ -40,10 +40,10 @@ function print_usage { echo "Examples:" echo echo " Install version 0.0.3:" - echo " bootstrap-gruntwork-installer.sh --version=0.0.3" + echo " bootstrap-gruntwork-installer.sh --version 0.0.3" echo echo " One-liner to download this bootstrap script from GitHub and run it to install version 0.0.3:" - echo " curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash -s --version=0.0.3" + echo " curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version 0.0.3" } function command_exists {