• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

exiting from Fog custom pxe menu item - wipe HD

Scheduled Pinned Locked Moved
General
2
3
221
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Roger Saffle
    last edited by Oct 13, 2023, 10:03 PM

    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.

    G 1 Reply Last reply Oct 13, 2023, 11:04 PM Reply Quote 0
    • G
      george1421 Moderator @Roger Saffle
      last edited by george1421 Oct 16, 2023, 9:36 AM Oct 13, 2023, 11:04 PM

      @Roger-Saffle Add in shutdown=1 into your custom menu parameters. The system will power off after wiping the drive.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      R 1 Reply Last reply Oct 16, 2023, 2:21 PM Reply Quote 1
      • R
        Roger Saffle @george1421
        last edited by Oct 16, 2023, 2:21 PM

        @george1421 Perfect thanks.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          2/3
          Last post

        193

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project