Skip to content

Commit

Permalink
docs: fix BUILDING.md (#229)
Browse files Browse the repository at this point in the history
Be specific about which image tarballs to copy when testing air-gapped
vs non-air-gapped.
  • Loading branch information
dweomer authored Aug 24, 2020
1 parent 80943f5 commit aec06f4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ has been bind-mounted into the container ready to be imported into containerd on
To run the built artifact(s) locally or on a remote host:
- install prerequisites mentioned above
- copy `./bin/rke2` to the path on your host
- copy `./build/images/rke2-runtime.tar` to `/var/lib/rancher/rke2/agent/images/` on your host
- if testing airgap, also copy `./build/images/rke2-airgap.tar` to `/var/lib/rancher/rke2/agent/images/` on your host
- if not testing air-gapped, copy these (local) image tarballs to `/var/lib/rancher/rke2/agent/images/`:
- `./build/images/rke2-runtime.tar`
- `./build/images/rke2-kubernetes.tar`
- if testing air-gapped, copy this (local + remote) image tarball to `/var/lib/rancher/rke2/agent/images/`:
- `./build/images/rke2-airgap.tar`
- run rke2 server: `rke2 server --token=test`

### kubectl
Expand Down

0 comments on commit aec06f4

Please sign in to comment.