Skip to content

Commit 8d92cce

Browse files
Merge pull request #3 from robertpeteuil/dev
rename hcinstall
2 parents 99713eb + 4a04f9b commit 8d92cce

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
---
1111

12-
**hashi-install.sh** automates the process of downloading and installing HashiCorp products. It supports all binaries on releases.hashicorp.com; including terraform, packer, vault, consul, boundary, waypoint, etc..
12+
**hcinstall.sh** automates the process of downloading and installing HashiCorp products. It supports all binaries on releases.hashicorp.com; including terraform, packer, vault, consul, boundary, waypoint, etc..
1313

1414
This script detects host architecture, searches for releases, downloads, verifies and installs binaries. Optional parameters allow finding latest patch releases, retrieving enterprise binaries, and functioning in special modes.
1515

@@ -18,7 +18,7 @@ This is an upgrade and replacement for the earlier projects: [Terraform Installe
1818
## Usage
1919

2020
```text
21-
hashi-install.sh [-p PRODUCT] [-i VERSION] [-e] [-o] [-h] [-v] [-m] [-a] [-c] [-d]
21+
hcinstall.sh [-p PRODUCT] [-i VERSION] [-e] [-o] [-h] [-v] [-m] [-a] [-c] [-d]
2222
2323
-p PRODUCT : product (default='terraform')
2424
-i VERSION : version to install, supported formats '1.1.9' or '1.1' (default=latest)
@@ -42,20 +42,20 @@ hashi-install.sh [-p PRODUCT] [-i VERSION] [-e] [-o] [-h] [-v] [-m] [-a] [-c] [-
4242
> specify product with `-p` flag
4343
4444
- defaults to Terraform if `-p` not specified
45-
- `hashi-install.sh`
45+
- `hcinstall.sh`
4646
- install vault using product abbreviation
47-
- `hashi-install.sh -p v`
47+
- `hcinstall.sh -p v`
4848
- install consul-template using name
49-
- `hashi-install.sh -p consul-template`
49+
- `hcinstall.sh -p consul-template`
5050

5151
> specify version with `-i` flag
5252
5353
- install latest - don't specify version
54-
- `hashi-install.sh`
54+
- `hcinstall.sh`
5555
- install specific version - use MAJOR.MINOR.PATCH format
56-
- `hashi-install.sh -i 1.1.5`
56+
- `hcinstall.sh -i 1.1.5`
5757
- determine & install latest patch release - use MAJOR.MINOR format
58-
- `hashi-install.sh -i 1.1`
58+
- `hcinstall.sh -i 1.1`
5959

6060
### Override CPU detection on Apple Silicon (arm64)
6161

@@ -65,7 +65,7 @@ hashi-install.sh [-p PRODUCT] [-i VERSION] [-e] [-o] [-h] [-v] [-m] [-a] [-c] [-
6565
- If `arm64` binaries aren't available for a given product + version, it reverts to `amd64` (Intel)
6666
- To override detected CPU and force Intel binaries, use the `-m`
6767
- ex: when using terraform with an older version of a provider that isn't available for arm64
68-
- install the intel version of terraform with: `hashi-installer.sh -m`
68+
- install the intel version of terraform with: `hcinstaller.sh -m`
6969

7070
## Migration from Previous Installers
7171

@@ -82,8 +82,8 @@ hashi-install.sh [-p PRODUCT] [-i VERSION] [-e] [-o] [-h] [-v] [-m] [-a] [-c] [-
8282
Download Installer
8383

8484
``` shell
85-
curl -LO https://raw.github.com/robertpeteuil/hashicorp-installer/master/hashi-install.sh
86-
chmod +x hashi-install.sh
85+
curl -LO https://raw.github.com/robertpeteuil/hashicorp-installer/master/hcinstall.sh
86+
chmod +x hcinstall.sh
8787
```
8888

8989
## System Requirements

hashi-install.sh renamed to hcinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ set -e
1515
defaultProduct="terraform"
1616

1717
scriptname=$(basename "$0")
18-
scriptbuildnum="1.0.0-beta.1"
18+
scriptbuildnum="1.0.0-beta.3"
1919
scriptbuilddate="2022-10-26"
2020

2121
# CHECK DEPENDANCIES AND SET NET RETRIEVAL TOOL

0 commit comments

Comments
 (0)