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

Restart task modification

Scheduled Pinned Locked Moved
FOG Problems
4
5
1.3k
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.
  • G
    geico
    last edited by Mar 3, 2016, 6:41 PM

    I would like to know if it is possible to run a script before the reboot takes place after creating a download task. I do not want to have the default boot set to pxe, so it is possible for me to run a command line which will update the bios of the thin client to set a one time pxe boot prior to reboot. I can get this working by creating a snapin but it would be nice if I could just have this accomplished somehow with the download task automatically.

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Mar 3, 2016, 12:48 PM Mar 3, 2016, 6:46 PM

      IF your thin client would allow a linux command prompt applications to change the bios setting then there is an option. There are postdownload scripts that can be run, but they would be executed on the FOS (fog operating system) linux system, post image deployment. So what ever these magical applications would be to change the bios setting, they would have to run on a linux OS. If these are dell thin clients you may have a chance.

      I can say for my deployments I don’t set pxe to be the first boot option. When I’m staging one of these devices I always use the boot menu to select pxe booting when I need it. This is a one time (or as many times as you want to press F12 during boot) pxe boot option. When doing imaging the tech is always sitting in front of the device. If I had a campus of 500 or more I might do unattended image deployment. But for me the F12 boot menu works great.

      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!

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman
        last edited by Wayne Workman Mar 3, 2016, 10:59 PM Mar 4, 2016, 4:58 AM

        I think this is a really neat idea. And George is right, Dell is probably the most Linux-Friendly vendor there is. For instance, at work we just ordered a very large amount of new Optiplexes. We asked Dell if they could ship them with Linux and they said yes. Dell shipped them with Ubuntu. It saved us 100,000 dollars on the order. Having them shipped with Linux was my idea. 😉

        Here’s a good start, but it’s not the “end-game” for what your wanting. We will need to iron out a work flow to make it work in FOS.
        http://www.dell.com/support/article/us/en/19/SLN171755/en

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Mar 4, 2016, 11:26 AM

          There already is this feature. It’s called postdownloadscripts. It does EXACTLY what you’re requesting in the sense of:

          @geico said:

          I would like to know if it is possible to run a script before the reboot takes place after creating a download task. I do not want to have the default boot set to pxe, so it is possible for me to run a command line which will update the bios of the thin client to set a one time pxe boot prior to reboot. I can get this working by creating a snapin but it would be nice if I could just have this accomplished somehow with the download task automatically.

          Of course we’d need more information and the script is linux run anyway. But the exact purpose of the postdownloadscripts IS to run a script before reboot after imaging completes.

          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

          G 1 Reply Last reply Mar 4, 2016, 11:33 AM Reply Quote 0
          • G
            george1421 Moderator @Tom Elliott
            last edited by george1421 Mar 4, 2016, 5:34 AM Mar 4, 2016, 11:33 AM

            @Tom-Elliott The only issue I see is that what ever utility the OP has to change the bios boot order, it has to be a linux program. I know off the top of my head, dell and lenovo have windows/cmd base versions of these programs. If the FOS kernel was based on winpe, then there would be a higher chance a program would exist. I use the Dell Command and Configure to change the boot order with my bios update flash drive. So I know its possible at least with Dell business hardware.

            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!

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

            143

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project