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

Regarding /opt/fog/.fogsettings

Scheduled Pinned Locked Moved Solved
FOG Problems
3
5
864
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.
  • S
    sudburr
    last edited by sudburr Oct 7, 2016, 9:26 AM Oct 7, 2016, 2:59 PM

    After being generated by the initial installer, does FOG, and just FOG, use this information from /opt/fog/.fogsettings for anything?

    submask=‘0.0.0.0’

    Concurrently, does FOG reference the subnet mask of the network it’s on at any time?

    [ Standing in between extinction in the cold and explosive radiating growth ]

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Oct 7, 2016, 10:03 AM Oct 7, 2016, 4:01 PM

      Fog doesn’t use the file during run time, it only uses it when the installer is running.

      The submask is only used for DHCP stuff, and maybe for udpcast configuration, maybe. Again that’s only during running the installer.

      However, I’ve written utilities that actively use the file. Like the FOGUpdateIP thing, it’s based on your original work, it’s pretty developed now too. It uses the .fogsettings file during run time.

      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
      • S
        sudburr
        last edited by sudburr Oct 7, 2016, 10:22 AM Oct 7, 2016, 4:21 PM

        So, yes and no.

        It’s generated by the installer, and used by the installer during re/installation to possibly configure a FOG component. Which file where is touched by this?

        I’m concerned by this because we’re planning out changing scopes that will include changing the subnet mask, and I need to know if I should be worried about /opt/fog/.fogsettings and whatever else is touched by the installer or FOG’s normal operations that use that information.

        [ Standing in between extinction in the cold and explosive radiating growth ]

        T 1 Reply Last reply Oct 7, 2016, 4:22 PM Reply Quote 0
        • T
          Tom Elliott @sudburr
          last edited by Oct 7, 2016, 4:22 PM

          @sudburr This is only used if you’re setting your FOG Server up as a DHCP server.

          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
          • S
            sudburr
            last edited by Oct 7, 2016, 4:23 PM

            Thank you horse’s mouth!

            [ Standing in between extinction in the cold and explosive radiating growth ]

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

            223

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project