Skip to content

Commit

Permalink
fix: correct iso name for run-iso (ublue-os#1957)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles authored Nov 22, 2024
1 parent 3d6a30a commit 0b15d4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ run-iso image="bluefin" tag="latest" flavor="main":
image_name=$(just image_name {{ image }} {{ tag }} {{ flavor }})

# Check if ISO Exists
if [[ ! -f "${image_name}_build/${image_name}.iso" ]]; then
if [[ ! -f "${image_name}_build/${image_name}-${tag}.iso" ]]; then
just build-iso "$image" "$tag" "$flavor"
fi

Expand All @@ -629,7 +629,7 @@ run-iso image="bluefin" tag="latest" flavor="main":
run_args+=(--env "TPM=Y")
run_args+=(--env "GPU=Y")
run_args+=(--device=/dev/kvm)
run_args+=(--volume "${PWD}/${image_name}_build/${image_name}.iso":"/boot.iso")
run_args+=(--volume "${PWD}/${image_name}_build/${image_name}-${tag}.iso":"/boot.iso")
run_args+=(docker.io/qemux/qemu-docker)
podman run "${run_args[@]}" &
xdg-open http://localhost:${port}
Expand Down

0 comments on commit 0b15d4d

Please sign in to comment.