Skip to content

Commit

Permalink
Merge pull request #303 from containers/krunkit-or-libkrun
Browse files Browse the repository at this point in the history
Check for "krunkit" or "libkrun" strings
  • Loading branch information
ericcurtin authored Oct 14, 2024
2 parents 772be11 + dca1119 commit 86a9b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ramalama/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def ai_support_in_vm():
conman_args = [conman, "machine", "list", "--format", "{{ .VMType }}"]
try:
output = run_cmd(conman_args).stdout.decode("utf-8").strip()
if output == "krunkit":
if output == "krunkit" or output == "libkrun":
return True
except subprocess.CalledProcessError:
pass
Expand Down

0 comments on commit 86a9b7d

Please sign in to comment.