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

Shutdown host after deploy, change BIOS time?

Scheduled Pinned Locked Moved
FOG Problems
2
3
313
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.
  • P
    Pyrol
    last edited by Oct 6, 2020, 12:37 PM

    Hi, I have sucessfuly set up fog server but I don’t want to boot the system up after image deploy, also I’l like to ask if it’s possible - can I change BIOS time with FOG (my sever has correct time)? The reason why I want to do this is thise machines have to join to the domain in the different locations (I don’t know the name of it).
    I can see “shutdown after install” in snapis section but not in images, host or task

    I have set up pfsense and fog on CentOS 8.0

    Thanks for help,
    Greetings.
    Bartłomiej Perkowski

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Oct 6, 2020, 1:06 PM

      Change bios time with fog NO. FOG can’t step into the bios of the computer. But should the question be, how can I set the target OS timezone on a deployed image?

      As for the shutdown on image there is an option when you deploy. Just tick the checkbox and the remote system will power off instead of reboot.

      shutdown_deploy.png

      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 1
      • G
        george1421 Moderator
        last edited by george1421 Oct 6, 2020, 7:13 AM Oct 6, 2020, 1:10 PM

        now with that said linux has a command hwclock that can set the hardware clock to local time. That command does exist in FOS Linux, but it appears to have a dependency that is not met. The other missing command is ntpdate to set the FOS Linux clock to some ntp server on your network.

        So in theory we can get to where you need with a little black magic.

        ref: https://docs.fedoraproject.org/en-US/Fedora/26/html/System_Administrators_Guide/sect4-synchronizing-date-time-hwclock.html

        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
          3/3
          Last post

        208

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project