Coder Social home page Coder Social logo

freebsd-installer's Introduction

What this does:
    This scripts the BSD installation:
    1. ZFS pool configuration
    2. GELI password
    3. system configuration
        packages
        files
        chmod / chown
        boot-loader
        rc.conf
        sysctl
        groups
        users
        scripts (run)
    4. updates the system using freebsd-update fetch install

Requirements
    1. network connectivity
    2. git repository with system configuration (example to be posted)

Why
    Everything I do *MUST* be repeatable and I strive to not repeat myself.
    Every knob can be traced to a "patch" and a reason why.
    I can have a fully-configured, operational system quickly.

Why not Boot Environments (BEs)?
    BEs are a supplement and in fact I use BEs alongside this to rollback in the even of a failure that I cannot easily move forward


Instructions:
1. install "install" utility
    git clone install ...
    cd install
    cp app-* /usr/local/sbin (or wherever your root dir is)
    app-install

2. download and install FreeBSD onto a USB drive
    dd ...

3. mount USB drive @ /mnt/usb

4. get freebsd-installer
    git clone freebsd-installer

5. install freebsd-installer to USB
    cd freebsd-installer
    ROOT=/mnt/usb app-install
    umount /mnt/usb

6. boot to USB

7. invoke bsdinstall-boostrap
    /usr/local/bin/bsdinstall-bootstrap
        net, dev, dev_name, hostname, git, branch, geli_password

freebsd-installer's People

Watchers

Walter White 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.