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

Write scripts to do fog work

Scheduled Pinned Locked Moved
General
2
3
491
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.
  • M
    Mark krikunov
    last edited by Apr 10, 2019, 9:10 PM

    I want to write a bash script for Ubuntu 18.4 server, the job of bash script is to deploy the image to chosen computer and then send couple more scripts to the computer and run them. Those scripts will run update check for image and when done will run capture work on the same computer, delete themselves and restart the computer, after the computer is done capturing it will be shut down.
    In other words, I am trying to do updates automatically without me doing it, but the question I have is, can I write a script to this kind of work.

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Apr 10, 2019, 10:03 PM

      @Mark-krikunov Surely you can script / automate things here and there. The FOG API will be of help to you. But I reckon automating the whole process as outlined is not as easy but surely possible. Give it a try and let us know when you hit the wall and need help with specific things.

      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

      M 1 Reply Last reply Apr 10, 2019, 10:10 PM Reply Quote 0
      • M
        Mark krikunov @Sebastian Roth
        last edited by Apr 10, 2019, 10:10 PM

        @Sebastian-Roth Okay, I will give it a try. Thanks for the response.

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

        209

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project