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

/opt/fog/.fogsettings WiKi article

Scheduled Pinned Locked Moved
Tutorials
2
4
2.9k
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.
  • W
    Wayne Workman
    last edited by Wayne Workman Oct 31, 2015, 11:57 AM Oct 31, 2015, 5:05 PM

    Hey, I was wanting to more thoroughly document the settings in /opt/fog/.fogsettings

    This is my starting place. I know what most of these things do already but not all. This can also be a place where others can learn what these settings do as well.

    If anyone knows more, or can add more, please do share.

    ## Created by the FOG Installer
    ## Version: 5167
    ## Install time: Sat 31 Oct 2015 12:34:56 PM CDT
    
    
    #I suppose this is where the kernel is pulled from during the PXE boot process?
    ipaddress="10.0.0.3";
    
    #This is the interface to use for multicasting, I think.
    interface="enp2s0";
    
    #subnet mask given out by DHCP.
    submask="255.255.255.0";
    
    #router interface to be given out via DHCP
    routeraddress="         option routers      10.0.0.1;";
    
    #not sure what this is... seems like a duplicate of above.
    plainrouter="10.0.0.1";
    
    #the DNS settings to give out via DHCP
    dnsaddress="    option domain-name-servers      10.0.0.1; ";
    
    #Not sure what this one is.
    dnsbootimage="10.0.0.1";
    
    #Not sure what this is.
    password='iIXhnFHzOzDK';
    
    #The type of OS detected during installation, defines what OS Specific commands should be used during installation.
    osid="1";
    
    #The detected OS type during installation.
    osname="Redhat";
    
    #Whether or not to enable & start DHCP.
    dodhcp="N";
    
    #Wether or not to build /etc/dhcp/dchpd.conf
    bldhcp="0";
    
    #Whether or not to build /etc/exports
    blexports="1";
    
    #Installation mode, either `N`ormal or `S`torage node.
    installtype="N";
    
    #The username for MySQL Access
    snmysqluser=""
    
    #The password for MySQL Access
    snmysqlpass='';
    
    #The IP or Hostname of the MySQL Server to use.
    snmysqlhost="";
    
    #Language support or not.
    installlang="0";
    
    #Donate by mining crypto-currency or not.
    donate="0";
    
    #The location to be used when building the /etc/exports file
    storageLocation="/images";
    
    #Not sure what this does...
    fogupdateloaded="1";
    
    #This is the credentials for local FTP Access, these are passed to clients when uploading so that the image can be moved from /images/dev to /images, I THINK this is this setting's only use.
    storageftpuser="fog";
    
    #See storageftpuser above.
    storageftppass='iIXhnFHzOzDK';
    
    #Where the web root is located. This varies from one distro to another.
    docroot="/var/www/html/";
    
    #The name of Fog's webroot.
    webroot="fog/";
    
    #Whether or not the certificate for THIS fog server has been created or not. I THINK ???
    caCreated="yes";
    
    #DHCP's starting IP for the range DHCP will give out.
    startrange="10.0.0.10";
    
    #DHCP's ending IP for the range DHCP will give out.
    endrange="10.0.0.254";
    
    #The default boot file to set in /etc/dhcp/dchpd/conf for use with DHCP.
    bootfilename="undionly.kpxe";
    
    #The packages that are to be installed / updated when the FOG Installer runs in the future.
    packages=" httpd php php-cli php-common php-gd mysql mysql-server tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ lftp php-mysqlnd curl php-mcrypt php-mbstring mod_ssl php-fpm php-process";
    

    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 1
    • Q
      Quazz Moderator
      last edited by Nov 18, 2015, 10:35 AM

      ipaddress (My understanding is that this is the ip address of the fog server itself)

      interface (This is the interface fog will use for everything, by default. Multicast interface and what not can be altered later in the database)

      submask (The subnet mask for the network your fogserver is on, this is there irrespective of whether you enable FOGDhcp)

      dnsaddress (The DNS address to be used by the FOG server)

      Password (the password FOG generates on install for the fog account, this should match the storageftppass password)

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman
        last edited by Wayne Workman Nov 25, 2015, 10:13 PM Nov 18, 2015, 2:37 PM

        hashtagging this thread for the wiki

        Edit: added to wiki.

        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
        • W
          Wayne Workman
          last edited by Wayne Workman Nov 25, 2015, 10:14 PM Nov 26, 2015, 4:14 AM

          This has been added to the WiKi here: https://wiki.fogproject.org/wiki/index.php/.fogsettings

          If the community and @Developers and @Moderators could help with making it more accurate, it’d be greatly appreciated. 🙂

          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
          • 1 / 1
          • First post
            Last post

          151

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project