Skip to content

Commit

Permalink
use current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
arianvp committed Apr 19, 2024
1 parent 4c38c5c commit e17f65e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion upload-ami/src/upload_ami/upload_coldsnap.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ def upload_coldsnap(
logging.info(f"Uploading image to coldsnap")

image_file_vhd = Path(image_info["file"])
image_file_raw = image_file_vhd.with_suffix(".raw")
image_file_raw = Path(image_file_vhd.with_suffix(".raw").name)


subprocess.check_call(
["qemu-img", "convert", "-O", "raw", image_file_vhd, image_file_raw]
Expand Down

0 comments on commit e17f65e

Please sign in to comment.