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

    Making FOG Server

    Scheduled Pinned Locked Moved
    Feature Request
    3
    8
    1.8k
    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.
    • F
      FaP
      last edited by

      Re: Making Fog Portable

      To “rearm” the Topic 4192 : with Toggle Fog-Server IP with KSH(or shell)

      My name is Fab…(from France - WestCoast) … blablabla

      I work ( and conceptualize ) on a KSH Script it be able to toggle the network setting between different vlan in the entry of this Ksh ( options, arguments …)
      Server Cfg = Debian Jessie .5 / Deported Dhcp Service into a “Debi-Wheezy”

      My question is :

      Where are set the ip address ?
      in wish files ?
      Does it set in database too ? where

      At this moment, i’ve identified 5 flat-files to modify:

      1. /etc/Hostname
      2. /etc/network/interfaces
      3. /etc/resolv.conf
      4. /tftpboot/default.ipxe
      5. /var/www/fog/lib/fog/Config.class.php

      is it correct ?

      Thanks / Regards

      1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator
        last edited by

        From what I understand you want to change the IP of the server?

        If so: https://wiki.fogproject.org/wiki/index.php/Change_FOG_Server_IP_Address

        1 Reply Last reply Reply Quote 1
        • F
          FaP
          last edited by FaP

          Thanks, good to know

          But on my Fog-Server 1.2.0 already in Production-usage , it seems the /opt/fog/.fogsettings file is away ?

          Have u got the .fogsettings 's located directory in case or Fog 1.2 is already installed ?

          … If i follow you the only thing to do is to axe my “ksh-algo” with THE .fogsettings ?
          No Way and no Work with the mysql database and sql queries ?

          Tks / Rds

          Q Wayne WorkmanW 2 Replies Last reply Reply Quote 0
          • Q
            Quazz Moderator @FaP
            last edited by

            @FaP

            The first set of instructions are for 1.3, the second set for older (example is 0.27, not sure if that works for 1.2, though)

            F 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @FaP
              last edited by

              @FaP I wrote a script recently that does all the IP changing for you, all that is required of you is to update the OS’s IP. If you’re interested I can share details.

              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/

              F 1 Reply Last reply Reply Quote 0
              • F
                FaP @Quazz
                last edited by

                @Quazz
                Hi, Ok.

                using this file seems helpfull but i don’t find it yet … in the install tarball ?

                1 Reply Last reply Reply Quote 0
                • F
                  FaP @Wayne Workman
                  last edited by

                  @Wayne-Workman Great Job ! How does it run ? Do you put any options and parameters into you invoke script line?

                  iE: in Ksh way, with case / esac section easy to loop … something,
                  I have a vlan architecture located in different area…
                  What i find too is to:
                  1 - put(type) the number of the site into the first invocation option script
                  2 - put(type) thu Vid(vlan-id) of the site into the first invocation parameter script

                  Score : with the “concat” of this 2 argument … Simply ‘Copy -R’ the “5 good-files” into the directory need by FOG and the Debi’8.5 Server…

                  I need to know how FOG-System ip server play…

                  …interested by your share… sure

                  Tks / Have a good day Sirs

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @FaP
                    last edited by

                    @FaP Clone this repository to somewhere on your server (I always recommend /root/git😞 https://github.com/FOGProject/fog-community-scripts

                    There’s a tool in there called updateIP. First, you adjust your IP address for your OS as needed, then you would run this script which would update all the IPs in FOG and also update DHCP configuration if you have that enabled on your fog server too.

                    Do let me know how it goes.

                    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

                    134

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.3k

                    Posts
                    Copyright © 2012-2024 FOG Project