Configure VM provisioning with ZFS mirror disks and virtual TPM 2.0 module
This commit is contained in:
+4
-3
@@ -220,10 +220,11 @@ async def _run_build(build: BuildStatus) -> None:
|
||||
f"proxmox-auto-install-assistant exited with code {return_code}"
|
||||
)
|
||||
|
||||
build.iso_filename = output_filename
|
||||
prepared_filename = output_filename.replace(".iso", "-auto-from-iso.iso")
|
||||
build.iso_filename = prepared_filename
|
||||
build.state = BuildState.COMPLETED
|
||||
build.log(f"Build completed: {output_filename}")
|
||||
logger.info("Build %s completed: %s", build.id, output_path)
|
||||
build.log(f"Build completed: {prepared_filename}")
|
||||
logger.info("Build %s completed: %s", build.id, work_dir / prepared_filename)
|
||||
|
||||
except Exception as exc:
|
||||
build.state = BuildState.FAILED
|
||||
|
||||
Reference in New Issue
Block a user