commit - b43c2679cff8c70bb419c145bad7ce74e0912086
commit + e10ddf826329135e4edad40c361b5ef915b67c03
blob - 1c1a57c9e8b8e0afff3f652b45d1c824669198d6
blob + 99e98e21731a65dd5a8cf83bf740ad8063496b71
--- README.md
+++ README.md
-# Personal OpenBSD machine configuration
+# Build OpenBSD images with various tools configured OOB
-- Networking
-- Dot files
-- rc daemons
+Build OpenBSD images with preconfigured networking, media, and tools. Use different flavors to change build defaults.
+
+# Plan
+1) Download & Varify OpenBSD Image
+2) Configure autoinstall(8) & add to image
+ auto_install.conf sits in the root of the image.
+- Ask the user if they want to answer questions now, or on the device
+ (Autoinstall vsmanual installation)
+- Ask the user install questions
+- Configure /auto_install.conf with answers
+3) Apply install.site (and site${VERSION}.tgz)
+ install.site sits in the root of the image, chrooted in the base system's root.
+
+# How it works
+./ibsd # Create Isaac's OpenBSD from latest release
+./ibsd -s # Create Isaac's OpenBSD from latest snapshot
+
+## Networking
+### Connect to Intranet
+- Connect to temporary wireguard tunnel
+- Figure out the next available IP
+- Create client configs
+- Create server config
+- Install client configs
+- Install server config
+- sh /etc/netstart wg_if
+
+## Coding Tools
+### Configure ssh
+### Configure Node
+### Configure rust
+### Configure vi
+### Configure emacs
+
+## Music
+
+## Books
+
+## Audio Books
+
+## Flavors
+### Basic Server
+### Basic Laptop
+### Full Isaac Laptop
blob - /dev/null
blob + 861c53d6abe5219a50d5b506870a6c55e212e5e1 (mode 644)
--- /dev/null
+++ ibsd
+#!/bin/sh
+
+## Check if run with root privilages (Needs to)
+
+## Download OpenBSD Snapshot Image
+version=`uname -r | tr -d '.'`
+URL=ftp://ftp4.usa.openbsd.org/pub/OpenBSD/snapshots/amd64
+IMG=install${version}.img
+
+WRK_DIR=`pwd`
+TMP_DIR=`mktemp -d` || exit 1
+cd $TMP_DIR
+
+# Download the image and signatures
+ftp -Va ${URL}/$IMG \
+ ${URL}/SHA256 \
+ ${URL}/SHA256.sig
+
+# Verify Download
+sha256 -C SHA256 $IMG
+
+# Verify It's signed by deraadt@
+signify -Cp /etc/signify/openbsd-${v}-base.pub \
+ -x SHA256.sig $IMG
+
+
+mv $IMG $WRK_DIR
+rm -rf $TMP_DIR
+
+## Configure auto_install.conf file
+
+## Open installXX.img
+vnconfig vnd0 $IMG
+
+## Add auto_install.conf to bsd.rd in /
+
+
+##