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

    How to use Postdownloadscripts.

    Scheduled Pinned Locked Moved
    Tutorials
    3
    5
    2.4k
    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.
    • D
      depthbread
      last edited by

      Trying to set up some post-flight scripts and was hoping someone could point me in the right direction to a general overview on how the new postdownloadscripts directory works. Specifically right now I’m trying to re-install grub at post-flight. I’ve been looking for some documentation on this but can’t seem to find any yet.

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

        First,

        Why do you need to rewrite grub? 1.2.0 should do this flawlessly for you. If it doesn’t maybe I can fix it?

        To help with postdownloadscripts,

        All it does is post imaging tasks (specifically post download imaging) before the system get’s ready to reboot.

        You put in your script what you need it to do, such as copy files to the hdd, or whatnot. Call the script in the postdownloadscript file within postdownloadscripts folder and all should happen according to how you’re doing tasks. Hopefully it helps.

        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
        • D
          depthbread
          last edited by

          I think the issue with grub might be that we’re pulling windows partition from one vm and getting the Linux partition from another computer and then putting them all together to push out. It’s a bit of a mess right now because we are testing how to get a new Linux image going. Thanks for the help though, if any one else is looking for a little more info on this, Tom Elliot gives some here: [url]http://fogproject.org/forum/threads/latest-development-fog.10556/page-3#post-31807[/url]

          1 Reply Last reply Reply Quote 0
          • D
            depthbread
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • L
              lucfoucault37
              last edited by

              Jesus. Great job! As one, I know that took a lot of work. Thanks.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              178

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project