Skip to content

Commit

Permalink
Merge pull request #3605 from yeazelm/metal_versions
Browse files Browse the repository at this point in the history
docs: Update VERSION in metal readme
  • Loading branch information
yeazelm authored Nov 17, 2023
2 parents c4900ee + c48d901 commit 6ddb83e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions PROVISIONING-METAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ sha512sum -c <<<"a3c58bc73999264f6f28f3ed9bfcb325a5be943a782852c7d53e803881968e0

Next, set your desired version and variant, and use `tuftool` to download the image:
To install `tuftool` you'll need to install Rust (via [rustup](https://rustup.rs/) or the official site), and then you can run `cargo install tuftool`.
The VERSION corresponds to the [Bottlerocket version](https://github.com/bottlerocket-os/bottlerocket/releases/latest), the latest release is almost always what you want.
You might need to install `jq` to fetch the VERSION.

```shell
ARCH="x86_64"
VERSION="v1.12.0"
VARIANT="metal-k8s-1.23"
VERSION=$(curl -s https://github.com/gitapi/repos/bottlerocket-os/bottlerocket/releases/latest | jq -r '.name')
VARIANT="metal-k8s-1.28"
IMAGE="bottlerocket-${VARIANT}-${ARCH}-${VERSION}.img.lz4"
OUTDIR="${VARIANT}-${VERSION}"

Expand Down

0 comments on commit 6ddb83e

Please sign in to comment.