Skip to content

Commit 54d34aa

Browse files
Add sudo to cp command for image transfer (#507)
Signed-off-by: Mehran Asghari <mhr.as1317@gmail.com>
1 parent eccd9f9 commit 54d34aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/installation/airgap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ This method requires you to manually deploy the necessary images to each node, a
4343
2. Transfer the images archive to the airgap nodes. Place them in the agent's image directory, for example:
4444
```bash
4545
sudo mkdir -p /var/lib/rancher/k3s/agent/images/
46-
cp k3s-airgap-images-amd64.tar.zst /var/lib/rancher/k3s/agent/images/k3s-airgap-images-amd64.tar.zst
46+
sudo cp k3s-airgap-images-amd64.tar.zst /var/lib/rancher/k3s/agent/images/k3s-airgap-images-amd64.tar.zst
4747
```
4848
3. Proceed to the [Install K3s](#2-install-k3s) section below.
4949

0 commit comments

Comments
 (0)