Skip to content

Commit

Permalink
Add error when no runtime found
Browse files Browse the repository at this point in the history
  • Loading branch information
efrecon committed Sep 27, 2024
1 parent 813e06d commit 0ef3dfc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/microvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ _microvm_runtime_auto() {
elif check_command -s -- krunvm; then
check_command buildah
KRUNVM_RUNNER_RUNTIME="krunvm"
else
error "No suitable runtime found. Please install 'krun' or 'krunvm'"
fi
info "Automatically selected $KRUNVM_RUNNER_RUNTIME to handle microVMs"
}
Expand Down

0 comments on commit 0ef3dfc

Please sign in to comment.