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

    Is there a way to erase 2 separate hdds in the deployment process?

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    4
    362
    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.
    • Z
      zaboxmaster
      last edited by

      So I have a problem where we are deploying the machines but there is data still on a second HDD.

      Is there a way in the deployment process to erase any other HDD in the computer at the same time ?

      I know this would be a unique case example.

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @zaboxmaster
        last edited by

        @zaboxmaster You can probably accomplish this with a postinit script to overwrite the existing erasure script that runs.

        I don’t have a direct example, but you can use the base script to essentially iterate over all hdd’s on the machine and perform the same actions.

        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

        Z 1 Reply Last reply Reply Quote 1
        • Z
          zaboxmaster @Tom Elliott
          last edited by

          @Tom-Elliott Thank you , i will have a look

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @zaboxmaster Just in case you haven’t found out about post deploy scripts yet: https://forums.fogproject.org/topic/7740/the-magical-mystical-fog-post-download-script

            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
            • [[undefined-on, S Sebastian Roth, ]]
            • 1 / 1
            • First post
              Last post

            149

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project