• 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

      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
      • Tom ElliottT
        Tom Elliott
        last edited by

        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

          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
          • Tom ElliottT
            Tom Elliott
            last edited by

            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

              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
              • Jaymes DriverJ
                Jaymes Driver Developer
                last edited by

                [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

                  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

                    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
                    • JunkhackerJ
                      Junkhacker Developer
                      last edited by

                      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

                        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
                        • JunkhackerJ
                          Junkhacker Developer
                          last edited by

                          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

                            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
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              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

                                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
                                • First post
                                  Last post

                                236

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project