• 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.
    • Roger SaffleR
      Roger Saffle
      last edited by

      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.

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Roger Saffle
        last edited by george1421

        @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!

        Roger SaffleR 1 Reply Last reply Reply Quote 1
        • Roger SaffleR
          Roger Saffle @george1421
          last edited by

          @george1421 Perfect thanks.

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

          231

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project