Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
Hardcode the firecracker binary version
Browse files Browse the repository at this point in the history
The nomad firecracker plugin currently breaks on the 1.0.0 firecracker
binary. Specifically, the ht_enabled field has been renamed and is now
optional. See cneira/firecracker-task-driver#20
for details
  • Loading branch information
Thomas Wunderlich committed Apr 19, 2022
1 parent 7e72c30 commit 469f90d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion etc/chromeos/lib/installs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,10 @@ install_firecracker() {
echo_banner "Installing Firecracker binary"

repo="firecracker-microvm/firecracker"
version=$(get_latest_release "${repo}")
# v1.0.0 doesn't currently work with the nomad firecracker plugin due to a breaking change. Instead we're hardcoding
# the version for now. TODO switch to grabbing the latest version once the nomad plugin is updated
# version=$(get_latest_release "${repo}")
version="v0.25.2"

url_prefix="https://github.com/${repo}/releases/download/${version}"

Expand Down

0 comments on commit 469f90d

Please sign in to comment.