I’ve been searching the forums but the most recent post I can find is from ~3yrs ago. Like many, I’m looking for an automated solution to wipe the drive of a connected computer and once completed, start re-imaging.
I’ve come across this post for adding the wipe function to the main menu and george1421’s code works beautifully (well the wipe works, the ‘loop back to menu’ part crashes). That said, I’m wondering if there is a way to ‘tack-on’ the code from the fog.deployimage menu item so that once the wipe is finished, the imaging begins.
I’ve tried to do this in the simplest way, by copy–>pasting the two ‘parameters’ into a new menu entry but it seems that the wipe is skipped and the imaging starts immediately.
Does anyone have any idea how this might actually work? Is there a ‘wait for current process to end’ command I could throw in?
That said, is there any documentation ANYWHERE that has what kind of code is used in fog? Or a list of functions/variables that I could research?
Thanks in advance for any help given!