Skip to content

Commit

Permalink
Fix the curl command for preparing k3s images for Airgap (k3s-io#243)
Browse files Browse the repository at this point in the history
This fixes an invalid URL issue that `curl` throws.
Since we are already passing the full path to the images.tar.zst, we can use `-o` instead of `-O`

Signed-off-by: Rishi <alienware505@gmail.com>
Co-authored-by: Rishi <rishnai1@in.ibm.com>
  • Loading branch information
rishinair11 and Rishi authored Feb 15, 2024
1 parent 55e085f commit 3231d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/installation/airgap.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This method requires you to manually deploy the necessary images to each node, a
2. Download the imagess archive to the agent's images directory, for example:
```bash
sudo mkdir -p /var/lib/rancher/k3s/agent/images/
sudo curl -L -O /var/lib/rancher/k3s/agent/images/k3s-airgap-images-amd64.tar.zst https://github.com/k3s-io/k3s/releases/download/v1.29.1-rc2%2Bk3s1/k3s-airgap-images-amd64.tar.zst
sudo curl -L -o /var/lib/rancher/k3s/agent/images/k3s-airgap-images-amd64.tar.zst "https://github.com/k3s-io/k3s/releases/download/v1.29.1-rc2%2Bk3s1/k3s-airgap-images-amd64.tar.zst"
```
3. Proceed to the [Install K3s](#install-k3s) section below.

Expand Down

0 comments on commit 3231d6f

Please sign in to comment.