My deploy jobs go as follows
Reboot to PXE, deploy image, run a task to do token replacement to rename machine to serial, reboot to production. This works great. Then the job has 11 (and growing) package delivery tasks as part of the job (install flash, etc).
When deploying an image, I am having a serious problem where after the machine boots to production, it doesn't realize sysprep isn't done mini set up and goes right on to installing the first post image package delivery tasks.
This is fine except sysprep/mini set up still has 1 reboot left, and when this reboot happens it's causing my deploy task to fail wherever it is at time of reboot (sometimes it's on it's 5th package sometimes the 6th, etc). The same packages install fine with quick delivery every time, I know it's not a package issue.
I don't think I was seeing this in my prior testing because my post image tasks ran quick enough it didn't matter. As we're adding more tasks it's becoming a problem.
I tested this as happening with and without deploy anywhere so I don't think that has anything to do with it.
After reboot to production I tried adding a task to "update client configuration" and I made my first software task that runs after that set in advanced settings to not allow other tasks to run while the first task runs thinking that the update client config would slow things down enough to give enough time for packages to install - but I'm still having the issue.
No errors on CMS server logs that I can find.
I feel like my only options would be to build these jobs into the image (don't want to do this, I wanted the image to be easy to update with as little on it as possible) or have a deploy image job and then have an install software job - however this is inconvenient for my staff who are used to DS 6.x drop the job and you're set.
Am I doing something wrong? There has to be others out there using DS 7.x with post image tasks?