jsiebens / hashi-up

bootstrap HashiCorp Consul, Nomad, or Vault over SSH < 1 minute
MIT License
676 stars 54 forks source link

update suffix for "arm*" architecture #32

Closed ghost closed 2 years ago

ghost commented 2 years ago

Update the suffix of arm* architecture in scripts/install_consul.sh

The current suffix being set (armhfv6) does not correspond with hashicorp's release files.

Current generated URL returns 403 forbidden: https://releases.hashicorp.com/consul/1.11.2/consul_1.11.2_linux_armhfv6.zip

Updated generated URL returns 200 OK https://releases.hashicorp.com/consul/1.11.2/consul_1.11.2_linux_arm.zip

jsiebens commented 2 years ago

Hi @anderslau, thanks for this PR, but the change depends on the version of consul, older versions still require the armhfv6 suffix. It has been fixed in another little refactoring and is included in the latest release.

Cheers!