Skip to content
Snippets Groups Projects
Commit c04add54 authored by nl6720's avatar nl6720 Committed by Kristian Klausen
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 2329b7a1
No related branches found
No related tags found
No related merge requests found
Pipeline #23670 passed
......@@ -55,7 +55,7 @@ losetup -d "${loopdev}"
loopdev=""
qemu-img convert -f raw -O qcow2 Arch-Linux-x86_64-basic.img Arch-Linux-x86_64-basic.qcow2
image_path="$(printf '%s/runner-base-%(%s)T.qcow2' "${libvirt_default_pool_path}")"
printf -v image_path '%s/runner-base-%(%s)T.qcow2' "${libvirt_default_pool_path}"
cp Arch-Linux-x86_64-basic.qcow2 "${image_path}.tmp"
mv "${image_path}"{.tmp,}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment