Giter Club home page Giter Club logo

sup's Introduction

sup

Simple Unix-like Provisioner

sup aims to be a common interface for installing and provisioning Unix-like OS distributions. Often, more customizable distros (Gentoo, Arch, etc.) will require a great deal of time and knowledge to get in a functional state. sup differs from solutions such as Ansible playbooks by not relying on code or commands to be inserted into configs. Complex distributions may update installation steps or change the location of URLs or public keys. This leads to a broken configuration file that then needs to be updated by the user. The installation code should know the current best way to install a given distribution while being agnostic of what configs are being used for install.

Support

Currently supports installations of Arch Linux and Gentoo Linux. All installs were tested on a SystemRescue ISO image.

Usage

Install scripts currently exist for Arch (install_arch.py) and Gentoo (install_gentoo.py) respectively. An example of how to install Gentoo linux using a custom sup build config along with a custom kernel kconfig is show below:

python3 install_gentoo.py -f builds/vmware/gentoo/vmware_lvm.cfg -k builds/vmware/kconfigs/openrc.kfg --prepdisks --getstage --setupenv --config-portage --sysconf --update-world --kernel --fstab --packages --services --bootloader --network --users --display

Note: Running install scripts against a block device will delete its contents; IT WILL FORMAT THE DEVICE AND YOU WILL LOSE YOUR DATA.

(work in progress)

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.