Skip to content

Commit

Permalink
📖 Fix wsl docs curl commands (#2082)
Browse files Browse the repository at this point in the history
The WSL docs example curl commands to download the shim scripts needed
to be updated follow redirects as necessary and to download to a file
instead of writing to sysout.

Signed-off-by: Scott J Dickerson <[email protected]>
  • Loading branch information
sjd78 authored Sep 10, 2024
1 parent 76c60f2 commit e356184
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/wsl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,15 @@ the path `/usr/local/bin` is included and is a good location to put the scripts.
windows binary:

```
curl https://raw.githubusercontent.com/konveyor/tackle2-ui/main/hack/wsl/shim_scripts/minikube.sh
curl -L https://raw.githubusercontent.com/konveyor/tackle2-ui/main/hack/wsl/shim_scripts/minikube.sh -o minikube.sh
sudo install -m 777 minikube.sh /usr/local/bin/minikube
```

- Install a [shell script for `kubectl`](shim_scripts/kubectl.sh) to use the kubectl
embedded in minikube `minikube kubectl --`:

```
curl https://raw.githubusercontent.com/konveyor/tackle2-ui/main/hack/wsl/shim_scripts/kubectl.sh
curl -L https://raw.githubusercontent.com/konveyor/tackle2-ui/main/hack/wsl/shim_scripts/kubectl.sh -o kubectl.sh
sudo install -m 777 kubectl.sh /usr/local/bin/kubectl
```

Expand Down

0 comments on commit e356184

Please sign in to comment.