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

Remote wipe

Scheduled Pinned Locked Moved
General
5
14
6.2k
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.
  • S
    SuP3R_Ch1cKeN
    last edited by Jun 30, 2014, 4:08 PM

    Is there a way to remotely wipe a HD without actually registering the host? I know this was an option pre 1.0.0 but I cannot find it post 1.0.0.

    FOG Server OS: CentOS 7
    FOG Version: FOG 1.2.0

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jun 30, 2014, 4:10 PM

      I’m not aware that this was an option in prior 1.x.x versions either.

      The way people “wiped” was to boot the system in debug and run the wipe command themselves.

      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • S
        SuP3R_Ch1cKeN
        last edited by Jun 30, 2014, 4:15 PM

        in the PXE menu there was the following option which you could just select and it preformed the wipe. It was helpful incase you needed to wipe many HDs at once.

        LABEL fog.wipe
        kernel fog/kernel/bzImage
        append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= mac= web=172.16.9.13/fog/ osid=1 wipemode=full mode=wipe shutdown= loglevel=4 consoleblank=0 fdrive=

        FOG Server OS: CentOS 7
        FOG Version: FOG 1.2.0

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jun 30, 2014, 5:01 PM

          What version of FOG was this in? Is it possible somebody customized this into your PXE menu for the reasons you describe?

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • S
            SuP3R_Ch1cKeN
            last edited by Jun 30, 2014, 5:06 PM

            This was in 0.32 however it was there for so long that I couldn’t tell you if it was customized in or if it came preloaded.

            I was wondering it this could possibly be added in the PXE advanced configuration.

            FOG Server OS: CentOS 7
            FOG Version: FOG 1.2.0

            1 Reply Last reply Reply Quote 0
            • J
              Jaymes Driver Developer
              last edited by Jun 30, 2014, 5:22 PM

              [quote=“SuP3R_Ch1cKeN, post: 31845, member: 4306”]in the PXE menu there was the following option which you could just select and it preformed the wipe. It was helpful incase you needed to wipe many HDs at once.

              LABEL fog.wipe
              kernel fog/kernel/bzImage
              append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= mac= web=172.16.9.13/fog/ osid=1 wipemode=full mode=wipe shutdown= loglevel=4 consoleblank=0 fdrive=[/quote]

              I don’t have these items in my 0.32 install and it’s my production machine, so it’s been here since the beginning of my FOG journies, my good ol trusty 0.32 server.

              I am curious if someone has added this item, or if it was in an earlier revision than what I have.

              I have also wondered about a wipe task. I would like to wipe my disk regardless of it’s data before I try to image with FOG, too many times I have had to format a hard drive in DEBUG mode because the partition was missing or wrong.

              It would be nice to have a check box during the set up of the deployment task on the web GUI, but a quick menu item would be nice as long as it was a password protected entry!

              WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

              1 Reply Last reply Reply Quote 0
              • M
                madskillz23
                last edited by Jun 30, 2014, 6:46 PM

                I setup dban (Derrick’s boot and nuke) in the PXE advanced menu in order to erase hdd’s.
                [CODE]:dban
                kernel ${boot_url}/dban/dban.bzi nuke=“dwipe” silent vga=785
                boot[/CODE]

                You can also configure it to autonuke, which will wipe a hard drive as soon as that item is selected from the advanced PXE menu. Its been useful.

                1 Reply Last reply Reply Quote 0
                • S
                  SuP3R_Ch1cKeN
                  last edited by Jun 30, 2014, 7:27 PM

                  Now when I attempt to add what madskillz23 suggests I get the screenshot that has [url]http://172.16.8.92/fog/service/ipxe/bg.png… ok[/url] then it goes back to the ipxe menu.

                  The other screenshot is if I put just echo hello world in the advanced config option.

                  [url=“/_imported_xf_attachments/1/1095_Screenshot_2014-06-30-15-20-18.png?:”]Screenshot_2014-06-30-15-20-18.png[/url][url=“/_imported_xf_attachments/1/1096_Screenshot_2014-06-30-15-20-42.png?:”]Screenshot_2014-06-30-15-20-42.png[/url]

                  FOG Server OS: CentOS 7
                  FOG Version: FOG 1.2.0

                  1 Reply Last reply Reply Quote 0
                  • J
                    Junkhacker Developer
                    last edited by Jun 30, 2014, 7:31 PM

                    did you put a copy of dban.bzi in [url]http://<fog-server-ip>/<fog-web-root>/dban/[/url] ?

                    signature:
                    Junkhacker
                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                    1 Reply Last reply Reply Quote 0
                    • S
                      SuP3R_Ch1cKeN
                      last edited by Jun 30, 2014, 7:41 PM

                      I did put a copy of dban in /var/www/html/fog/service/ipxe/dban however I modified the code to ${boot_url}/service/ipxe/dban/dban.bzi

                      Also I attempted to do echo ${boot_url} just to see what the variable pulls up and it was blank in the echo.

                      I also tried [CODE]kernel http://172.16.8.92/fog/service/ipxe/dban/dban.bzi nuke=“dwipe” silent vga=785[/CODE] but that flashed a no such file or directory but when I put [url]http://172.16.8.92/fog/service/ipxe/dban[/url] in a browser I can see all the files in that folder.

                      FOG Server OS: CentOS 7
                      FOG Version: FOG 1.2.0

                      1 Reply Last reply Reply Quote 0
                      • J
                        Junkhacker Developer
                        last edited by Jun 30, 2014, 7:57 PM

                        i know it seems like i’m asking dumb questions, but answers are often simple.
                        by default, it looks like the download of dban.bzi is all capital letters “DBAN.BZI”
                        urls are often case sensitive, do you have the correct capitalization?

                        signature:
                        Junkhacker
                        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                        1 Reply Last reply Reply Quote 0
                        • S
                          SuP3R_Ch1cKeN
                          last edited by Jun 30, 2014, 8:01 PM

                          I feel like an idiot now… That was it.

                          FOG Server OS: CentOS 7
                          FOG Version: FOG 1.2.0

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Jun 30, 2014, 8:06 PM

                            Don’t feel like an idiot, you got it. And you got it with help. That’s what matters.

                            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            1 Reply Last reply Reply Quote 0
                            • S
                              SuP3R_Ch1cKeN
                              last edited by Jun 30, 2014, 8:09 PM

                              Is there anyway to password protect this option. Might be kinda dangerous to leave this unprotected in my live environment

                              FOG Server OS: CentOS 7
                              FOG Version: FOG 1.2.0

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

                              173

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project