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

    Snapin question

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    4
    163
    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

      hello a question: to run a batch file immediately after deploy do I have to use the snapin? but do I have to register the clients to make the snapin work? we deploy multiple machines at the same time without ever registering the hosts, would it be possible to run the snapin without registering or associating the hosts to a group? thanks

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

        @alexamore90 Can you provide more clarification?

        “Immediately after deploy” as in after the imaging has completed, but is still in the FOS system?

        “Immediately after deploy” as in after the imaging has completed, restarted and is in whatever operating system?

        If it’s the first, there’s something called postinit scripts which can do what you may require. There isn’t one that we can provide, you’d have to create and have it run.

        If it’s the second, that could be done with a snapin and the machine has the FOG Client, but that would require you to have the machine registered (so no it wouldn’t be possible to run the snapin without registering or associating the hosts to a group)

        If it’s the second, and your “golden image” is sysprepped, this is effectively the point of the setupcomplete.cmd script methods. But again you’re left to your own devices here.

        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

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

          @Tom-Elliott
          yes sure, I would be interested in running a batch file after the fog has restarted because the deployment on the client has finished. I think I can’t use the snapin because of the host registration that we don’t do. but is the postinit done with fog?

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

            @alexamore90 said in Snapin question:

            @Tom-Elliott
            yes sure, I would be interested in running a batch file after the fog has restarted because the deployment on the client has finished. I think I can’t use the snapin because of the host registration that we don’t do. but is the postinit done with fog?

            You still haven’t answered the question.

            I already stated that postinit scripts run in FOS (fog adjacent if you will) but you haven’t answered the question of “where or when” you’re expecting the script to run.

            Please provide details of what you’re doing, when you’re expecting things to happen (explicitly as possible) and we can try to give guidance and direction.

            Otherwise we’re talking in circles.

            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

            194

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project