Skip to content

Commit 9893b86

Browse files
authored
chore: Follow redirects for sh.vector.dev (#19000)
New hosting uses an HTTP redirect rather than passing the content back transparently. Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
1 parent 164f1e9 commit 9893b86

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

website/content/en/docs/setup/installation/manual/vector-installer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ short: Vector installer
66
The Vector installer enables you to install Vector using a platform-agnostic installation script:
77

88
```shell
9-
curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash
9+
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash
1010
```
1111

1212
## Management

website/content/en/docs/setup/quickstart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ We can install Vector using an installation script or Docker:
1818
{{< tab title="Script" >}}
1919

2020
```shell
21-
curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash
21+
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash
2222
```
2323

2424
{{< /tab >}}

website/content/en/guides/getting-started/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ and create our first observability data pipeline so you can begin to see what Ve
1717
Installing Vector is quick and easy. We can use this handy installation script:
1818

1919
```shell
20-
curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash
20+
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash
2121
```
2222

2323
Or you can [choose your preferred installation method][docs.installation].

website/content/en/highlights/2020-07-09-add-musl-and-glibc-support-to-install-sh.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You **should not need to do anything**. If you are using a normal, recommended m
4343
If you're provisioning Vector, the best way to make sure you get the most up to date stable version is to run this:
4444

4545
```bash title="provision_vector.sh"
46-
curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash -s -- -y
46+
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash -s -- -y
4747
```
4848

4949
If you don't need the latest and greatest, **check your official distribution repository.** Some distributions, such as [NixOS][urls.nixos], have official Vector packages. You can also find Vector packages in the official [FreeBSD][urls.freebsd] repositories.

website/cue/reference/administration/example_docker_install_commands.cue

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ package metadata
99
administration: {
1010
example_docker_install_commands: [#Command, ...#Command] & [{
1111
title: "Docker example"
12-
command: "RUN apk add --no-cache curl bash && \\ \n curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash -s -- -y --prefix /usr/local"
12+
command: "RUN apk add --no-cache curl bash && \\ \n curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash -s -- -y --prefix /usr/local"
1313
}]
1414
}

website/cue/reference/administration/install_commands.cue

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ administration: {
1010
install_commands: [#Command, ...#Command] & [
1111
{
1212
title: "For humans"
13-
command: "curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash"
13+
command: "curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash"
1414
},
1515
{
1616
title: "For machines"
17-
command: "curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash -s -- -y"
17+
command: "curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash -s -- -y"
1818
},
1919
]
2020
}

website/cue/reference/administration/interfaces/vector_installer.cue

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ administration: interfaces: vector_installer: {
1818

1919
role_implementations: [Name=string]: {
2020
commands: {
21-
install: "curl --proto '=https' --tlsv1.2 -sSf https://sh.vector.dev | bash"
21+
install: "curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash"
2222
logs: null
2323
reload: "killall -s SIGHUP vector"
2424
restart: null

0 commit comments

Comments
 (0)