@aviel1540 Not sure I understand the question entirely.
You deploy image to machine After machine deploys, create a capture task for the machine When machine boots, it does an upload of it’s image. Once uploaded, then it boots to the OS?You can just tell the machine to shutdown after the tasks are complete, so that you don’t have to wait 5 seconds. Sure you would have to physically generate the capture task, but this way would prevent the system from booting to the Newly deployed image.