Commit Graph

78 Commits

Author SHA1 Message Date
Joshua Boniface 362c52e3e5 Add detect parser script (from pvc) and use it 2024-08-30 10:46:41 -04:00
Joshua Boniface 436b0d8d69 Switch ISO to Bookworm 2024-03-01 13:24:50 -05:00
Joshua Boniface bc5596b7a0 Add netinst option properly 2023-09-16 00:26:22 -04:00
Joshua Boniface e770efe64f Remove implicit /debian from mirror 2023-09-01 15:42:00 -04:00
Joshua Boniface 79ecf05e1f Fix bad security mirror path 2023-09-01 15:42:00 -04:00
Joshua Boniface fb4f0fa213 Change default mirror 2023-09-01 15:42:00 -04:00
Joshua Boniface dff5dc3878 Add noeject config 2023-09-01 15:42:00 -04:00
Joshua Boniface 36e439c78e Reset liveISO to bullseye
Bookworm seems to have a serious bug with PERC controllers causing the
drive to reset. This goes away with Bullseye, so use that instead.
2023-09-01 15:42:00 -04:00
Joshua Boniface 50d62157ca Use readline prompt if required 2023-09-01 15:42:00 -04:00
Joshua Boniface 83a837e72a Use non-free-firmware for liveISO 2023-09-01 15:42:00 -04:00
Joshua Boniface afbe330155 Use bookworm for liveISO 2023-09-01 15:42:00 -04:00
Joshua Boniface 422ea1739f Fix bootloader configuration for live env 2023-09-01 15:42:00 -04:00
Joshua Boniface 6ba2666a8f Update default mirror to UWaterloo (Rogers outage) 2023-09-01 15:41:59 -04:00
Joshua Boniface 57c08b6de6 Add missing mkdir 2023-09-01 15:41:59 -04:00
Joshua Boniface 6156cd305a Add bnxt_en to initramfs 2023-09-01 15:41:59 -04:00
Joshua Boniface 7193b4e488 Make mirror server configurable 2023-09-01 15:41:59 -04:00
Joshua Boniface fcc4c992e6 Switch to Rafal's mirror
The official mirror is very slow and has problems with connectivity
sometimes.
2023-09-01 15:41:59 -04:00
Joshua Boniface d6e93b04cc Go back to buster
For some reason LB keeps installing buster anyways.
2023-09-01 15:41:59 -04:00
Joshua Boniface 79de677a96 Add support for cross-arch ISOs
Initial support for arm64 installer support, as well as supporting
building the amd64 files on arm64 (i.e. an RPi3/4)
2023-09-01 15:41:59 -04:00
Joshua Boniface 17f6cb51d1 Move into script dirs before running 2023-09-01 15:41:59 -04:00
Joshua Boniface 30255292e2 Add blacklisting in installer 2023-09-01 15:41:58 -04:00
Joshua Boniface cb729afd85 Correct location of remove-root-pw.sh 2023-09-01 15:41:57 -04:00
Joshua Boniface c8f1d853a0 Move to template format instead of cat-EOF
Simplifies the scripts and adds the ability to easily and cleanly change
the contents of these files without dealing with escape characters, etc.
2023-09-01 15:41:57 -04:00
Joshua Boniface d8e08ac5ef Complete implementation of seed install
Some fixed decisions were made, namely that bond0 would be created by
the installer from "all other interfaces" to facilitate easy
provisioning.
2023-09-01 15:41:57 -04:00
Joshua Boniface 037d81fb9d Add dosfstools to package list 2023-09-01 15:41:56 -04:00
Joshua Boniface 3707202c5e Improve preseeding config 2023-09-01 15:41:56 -04:00
Joshua Boniface 023463574c Improve logging and messages 2023-09-01 15:41:56 -04:00
Joshua Boniface 0dfedda8d9 Improve option handling errors
The getopts framework just sucks for this, so do it manually.
2023-09-01 15:41:56 -04:00
Joshua Boniface f635e7010c Replace old buildiso.sh with live-build script
The old script was cumbersome and complex. Replace it with a script that
leverages the Debian live-build (lb) framework to simplify the script
and configuration as well as minimize sprawl in the final image (~40MB
savings).
2023-09-01 15:41:56 -04:00
Joshua Boniface bf8bf11ef7 Add better messages to indicate skipping 2023-09-01 15:41:56 -04:00
Joshua Boniface 8ef32fe5fa Add help for username 2023-09-01 15:41:55 -04:00
Joshua Boniface baac207e10 Fix ordering of help options 2023-09-01 15:41:55 -04:00
Joshua Boniface ae83721be9 Allow customizing the deployment username
Defaulted to 'deploy' but should be overrideable.
2023-09-01 15:41:55 -04:00
Joshua Boniface 284dbad37b Add support for vLANs in installer 2023-09-01 15:41:55 -04:00
Joshua Boniface 2dae04ab2a Add some additional supplemental packages (fw) 2023-09-01 15:41:55 -04:00
Joshua Boniface b9768d98fd Handle failing to bind mount 2023-09-01 15:41:55 -04:00
Joshua Boniface cc7b0047c4 Use local archives dir for debootstrapping 2023-09-01 15:41:55 -04:00
Joshua Boniface 4cf98e06a7 QOL improvements to scripts and script 2023-09-01 15:41:55 -04:00
Joshua Boniface a2cb5a6fec Correct issues with isolinux boot 2023-09-01 15:41:55 -04:00
Joshua Boniface fb6f346376 Conveniently print all fails at once 2023-09-01 15:41:55 -04:00
Joshua Boniface e5a60f56d4 Ensure resolv.conf is set too 2023-09-01 15:41:54 -04:00
Joshua Boniface af40944ed6 Add cacertificates to live ISO package list 2023-09-01 15:41:54 -04:00
Joshua Boniface 63d79e6d82 Fix missing semicolon 2023-09-01 15:41:54 -04:00
Joshua Boniface 43e63b3571 Use the active standard ISO image dynamic 2023-09-01 15:41:54 -04:00
Joshua Boniface 8368a302a7 Remove empty ISOs if download fails 2023-09-01 15:41:54 -04:00
Joshua Boniface 7ad7a2d819 Remove apt-cacher setup 2023-09-01 15:41:54 -04:00
Joshua Boniface 3d4e22e187 Allow last-minute editing of interfaces file
Allow this to happen before the installer completes, rather than once
the system starts up.
2023-09-01 15:41:54 -04:00
Joshua Boniface 4a4774a9bb Ensure isolinux is installed 2023-09-01 15:41:54 -04:00
Joshua Boniface cb3cb4a706 Reimplement initial fail 2023-09-01 15:41:54 -04:00
Joshua Boniface 02a5507523 Revert "Set -noappend to mksquashfs just in case"
This reverts commit e3d0a4bf5d.
2023-09-01 15:41:54 -04:00