Restart task modification



  • 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.


  • Moderator

    @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.


  • Senior Developer

    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.


  • Moderator

    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


  • Moderator

    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.


Log in to reply
 

392
Online

38920
Users

10688
Topics

101407
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.