/opt/fog/.fogsettings WiKi article


  • Moderator

    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";
    

  • Moderator

    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. :-)


  • Moderator

    hashtagging this thread for the wiki

    Edit: added to wiki.


  • Moderator

    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)


Log in to reply
 

459
Online

38969
Users

10710
Topics

101654
Posts

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