From 0b15d4d78114273a66076bc16248bc23a04f552c Mon Sep 17 00:00:00 2001 From: m2 <69128853+m2Giles@users.noreply.github.com> Date: Thu, 21 Nov 2024 21:22:42 -0500 Subject: [PATCH] fix: correct iso name for run-iso (#1957) --- Justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Justfile b/Justfile index 167441273f1..bf61f6785b0 100644 --- a/Justfile +++ b/Justfile @@ -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 @@ -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}