Fix path to containerized azure prep script

This commit is contained in:
Neil Hanlon 2022-07-08 17:31:30 -04:00
parent 3cccd03d55
commit 007f571224
Signed by untrusted user: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -108,7 +108,7 @@ class ImageBuild:
] ]
if self.image_type in ["Azure"]: if self.image_type in ["Azure"]:
self.stage_commands = [ self.stage_commands = [
["/empanadas/prep-azure.sh", lambda: f"{STORAGE_DIR}/{self.target_uuid}.body", f"{STORAGE_DIR}"], ["/prep-azure.sh", lambda: f"{STORAGE_DIR}/{self.target_uuid}.body", f"{STORAGE_DIR}"],
["cp", lambda: f"{STORAGE_DIR}/{self.target_uuid}.vhd", f"{self.outdir}/{self.outname}.vhd"] ["cp", lambda: f"{STORAGE_DIR}/{self.target_uuid}.vhd", f"{self.outdir}/{self.outname}.vhd"]
] ]
# ["qemu-img", "resize", "-f", "raw", lambda: f"{STORAGE_DIR}/{self.target_uuid}.body", lambda: f"{self.rounded_size()}"], # ["qemu-img", "resize", "-f", "raw", lambda: f"{STORAGE_DIR}/{self.target_uuid}.body", lambda: f"{self.rounded_size()}"],