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

    How to insert pre-deployment scripts ?

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    2 Posts 2 Posters 27 Views
    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.
    • A
      alexamore90
      last edited by alexamore90

      Hi, I have Fog Server 1.5.10, everything is up to date, including the kernel. Since I use many PCs a day, all different from each other, I’d like to use a script that, after choosing the image to deploy, before injecting the image, tells me if the SSD or NVMe disk is in good condition, like a SMART check. The same goes for a quick RAM check. I already have some scripts, but even inserting them into the /images/postdownloadscripts folder doesn’t call anything.
      Could you help me? Could you tell me the exact procedure?
      Or is there another way to do this? Logically, the PCs don’t need to be registered. We make a lot of PCs a day and deploy them without registering the host.

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

        @alexamore90 I think you’re asking for something like this? https://forums.fogproject.org/topic/9463/fog-postinit-scripts-before-the-magic-begins?_=1768874256297

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

        142

        Online

        12.5k

        Users

        17.5k

        Topics

        156.2k

        Posts
        Copyright © 2012-2026 FOG Project