• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
417
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 Jan 18, 2023, 1:24 PM

    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.

    T 1 Reply Last reply Jan 18, 2023, 2:01 PM Reply Quote 0
    • T
      Tom Elliott @zaboxmaster
      last edited by Jan 18, 2023, 2:01 PM

      @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 Jan 23, 2023, 9:02 PM Reply Quote 1
      • Z
        zaboxmaster @Tom Elliott
        last edited by Jan 23, 2023, 9:02 PM

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

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Jan 24, 2023, 10:21 PM

          @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, Mar 15, 2023, 10:01 PM]]
          • 1 / 1
          1 / 1
          • First post
            4/4
            Last post

          162

          Online

          12.1k

          Users

          17.3k

          Topics

          155.4k

          Posts
          Copyright © 2012-2024 FOG Project