Giter Site home page Giter Site logo

wayneworkman / makefogmobile Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 29 KB

This is a add-on utility for FOG to allow FOG to be a 100% mobile imaging server. It works by auto-configuring ProxyDHCP and FOG every time the server gets a different IP from DHCP.

License: GNU General Public License v3.0

Shell 100.00%

makefogmobile's Introduction

#---- README ----#
This script is for changing the FOG Server's (Fog 1.3.0) IP address and for configuring dnsmasq automatically.
It's intended to run as a cron event every 3 minutes, should work fine on Red Hat 7, CentOS 7, and Fedora 19+.
What this allows for is a 100% Mobile FOG 1.3.0 Server that uses pre-existing DHCP and will self-configure based on whatever IP the server recieves for use.

Thanks to forums.fogproject.org @sudburr for doing the initial work.
Expanded & Made better by forums.fogproject.org @Wayne-Workman
Please direct inqueries about this to the fog forums.


The main setting that will either allow or disallow changing is the /opt/fog/.fogsettings "ipaddress" setting. 
If this does not match what is actually set on the interface, then this script will update FOG's settings to use the IP address currently assigned.
The installation script does install dnsmasq too, and adds it to FOG's packages list inside .fogsettings
The script creates a root cron event that runs the main script every 3 minutes - this is what automatically keeps the IP settings updated.

This script is subject to the limitations of the attached license.txt file.

makefogmobile's People

Contributors

mastacontrola avatar wayneworkman avatar

Watchers

 avatar  avatar  avatar

makefogmobile's Issues

Make Distribution Independent

This only works for CentOS and Fedora right now.

I plan to make it distribution independent, and have a nicer installer that has defaults that assume you want everything working from the start and without further hassle. This is on the to-do list, just need to find the time to do it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.