exiting from Fog custom pxe menu item - wipe HD
-
I made a custom PXE menu using the FOG gui. It wipes the HD. All works well but Id like it to exit after completion. Right now it reboots. The issue is if I am not there and it reboots,it goes back to the fog menu and then tried to boot to HD, of course fails, then boots over and over
Here is my code
kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=${fog-ip}/fog consoleblank=0 loglevel=4 capone=1 mode=wipe wipemode=fast mac=00:00:00:00:00:00 imgfetch init_32.xz boot
I tried various things in place off boot, but they either do nothing or cause the script to not run.
-
@Roger-Saffle Add in
shutdown=1
into your custom menu parameters. The system will power off after wiping the drive. -
@george1421 Perfect thanks.