Giter Club home page Giter Club logo

afi's Introduction

#This document is a WIP FIXME ##AFI (Automatically Fully Install) is mainly a wrapper around kickstart installations.

The idea for the name is from FAI (Fully Automatic Installer) which is mainly used for Debian-based-systems. Also some general ideas are taken from FAI.

Compareble products (which mostly have much more functionality) are: FAI, Cobbler, Foreman.

AFI is written in PHP.

It creates a boot file for iPXE (boot.ipxe.php) and a kickstart file (ks.cfg..php)

There are so many os deployment tools, why AFI?

  • Installation is done via the provided (and supported) installer of the OS (that is not the case for FAI).
    • Installed system should be correctly installed:
      • no missing mountpoints,
      • no wrong boot configuration,
      • no malfunction after updates
  • Installation via web-server and DHCP-server only:
    • DHCP defines a HTTP/HTTPS - location for the boot-file (boot.ipxe.php)
    • boot.ipxe.php is an iPXE-file
    • Server boots from iPXE-boot-rom (iso, usb, chainload from PXE or directly flashed into network card)
    • dynamically generated boot.ipxe.php let's:
      • server boot from hard disk, if client is configured not to be installed
      • server boot kernel+initrd from HTTP/HTTPS - location.
  • Dynamically generated kickstart file (ks.cfg..php):
    • allows creating:
      • profiles for difficult %pre - scripts (used by partioning f.e.)
      • profiles for all settings in the installation (language, keyboard, bootloader, initial passwords f.e)
      • profiles for installed packages
      • profiles for used software repos(including proxy-configuration per repo)
    • from simple settings
      • in per installation-host config file or
      • default settings file

###Installation For AFI a webserver is required, which is able to serve php content.

Install a webserver with for example nginx and php.

Extract the afi archive to a web directory on that webserver

Configure AFI (afi.ini, default.conf, repos, partitioning schemes, post classes, hosts)

###BUILD the wanted version tag is referenced as <version>

mkdir -p ~/rpmbuild/{SOURCES,SPECS}
cd ~/rpmbuild/SPECS
wget https://raw.githubusercontent.com/hoonetorg/afi/<version>/afi.spec
spectool -g -C ../SOURCES -D afi.spec
rpmbuild -ba afi.spec

afi's People

Watchers

 avatar

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.