bootstrap HashiCorp Consul, Nomad, or Vault over SSH < 1 minute
Changelog for v0.9.3:
use sha256sum instead of shasum
Changelog for v0.9.2:
Verify the downloaded archive before installing
New commands to get Terraform and Packer locally
Upgrade to go 1.16 and use the embedded FS
Changelog for v0.9.1:
Use string slices, allowing comma-separated values for multi values flags such as --retry-join
Changelog for v0.9.0
Add support for password authentication
Add shorthand letters for the target flags
Changelog for v0.8.0:
Add Shell Completion support
Add get
command to install the tools locally
Starting from this release, hashi-up
can be used to download and install the binaries of Consul, Nomad or Vault
E.g.
$ ./hashi-up vault get
Downloading file https://releases.hashicorp.com/vault/1.6.2/vault_1.6.2_linux_amd64.zip
62.06 MiB / 62.06 MiB [---------------------------------------------------------------------------------------------------] 100.00%
Extracting file: vault to ~/bin
Changelog for v0.7.0:
Additional addr flags when installing Consul
Some extra flags are added to configure the addresses for the different servers like DNS, HTTP(S) API and gRPC.
Add command to uninstall the services
With this release, hashi-up
has a new subcommand for each service to uninstall Consul, Nomad or Vault.
Changelog for v0.6.0:
Getting the version numbers
Previously, hashi-up
was using a custom resource with the default version number of Consul, Nomad or Vault. Now it will get this information from https://releases.hashicorp.com
Using custom configuration file
hashi-up
generates a configuration file based on the provided flags.
With new flags --config-file
and --file
you can upload a custom configuration file and additional resources like certificates and keys. This way hashi-up
can be used to install more advanced configuration of Consul, Nomad or Vault.
Detailed error messages
When there is an issue connecting to the target host, a more detailed error message is displayed, explaining what could be wrong and how to fix it.
Consul installation options
Breaking changes
the flag --additional-config-file
is removed in favor of --config-file
and --file
Changelog for v0.5.0:
Skipping systemd:
With new flags --skip-enable
and --skip-start
, enabling or starting the systemd service can be disabled.
Additional configuration files:
hashi-up generates a configuration file based on the provided flags. By uploading additional configuration files, you can configure the HashiCorp tools with extra configuration parts which are not (yet) supported by the commandline flags.
Changelog v0.4.1:
--local
Changelog for 0.4.0:
SSH improvement
Air-gap install
--package
flagVault Filesystem Storage Backend
--storage
flag to choose between the Filesystem Storage Backend or the Consul Storage BackendDeprecated Flags
--ip
, --user
, --ssh-key
and --ssh-port
are deprecated in favor of --ssh-target-addr
, --ssh-target-user
and --ssh-target-key
Before:
hashi-up consul install \
--ip 192.168.0.5 \
--user ubuntu \
--ssh-port 2222 \
--ssh-key ~/.ssh/id_ed25519 \
...
After:
hashi-up consul install \
--ssh-target-addr 192.168.0.5:2222 \
--ssh-target-user ubuntu \
--ssh-target-key ~/.ssh/id_ed25519 \
...
Note: the
--ssh-target-addr
also support hostnames besides IP addresses