Commit Graph

55 Commits

Author SHA1 Message Date
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
037d81fb9d Add dosfstools to package list 2023-09-01 15:41:56 -04:00
3707202c5e Improve preseeding config 2023-09-01 15:41:56 -04:00
023463574c Improve logging and messages 2023-09-01 15:41:56 -04:00
0dfedda8d9 Improve option handling errors
The getopts framework just sucks for this, so do it manually.
2023-09-01 15:41:56 -04:00
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
bf8bf11ef7 Add better messages to indicate skipping 2023-09-01 15:41:56 -04:00
8ef32fe5fa Add help for username 2023-09-01 15:41:55 -04:00
baac207e10 Fix ordering of help options 2023-09-01 15:41:55 -04:00
ae83721be9 Allow customizing the deployment username
Defaulted to 'deploy' but should be overrideable.
2023-09-01 15:41:55 -04:00
284dbad37b Add support for vLANs in installer 2023-09-01 15:41:55 -04:00
2dae04ab2a Add some additional supplemental packages (fw) 2023-09-01 15:41:55 -04:00
b9768d98fd Handle failing to bind mount 2023-09-01 15:41:55 -04:00
cc7b0047c4 Use local archives dir for debootstrapping 2023-09-01 15:41:55 -04:00
4cf98e06a7 QOL improvements to scripts and script 2023-09-01 15:41:55 -04:00
a2cb5a6fec Correct issues with isolinux boot 2023-09-01 15:41:55 -04:00
fb6f346376 Conveniently print all fails at once 2023-09-01 15:41:55 -04:00
e5a60f56d4 Ensure resolv.conf is set too 2023-09-01 15:41:54 -04:00
af40944ed6 Add cacertificates to live ISO package list 2023-09-01 15:41:54 -04:00
63d79e6d82 Fix missing semicolon 2023-09-01 15:41:54 -04:00
43e63b3571 Use the active standard ISO image dynamic 2023-09-01 15:41:54 -04:00
8368a302a7 Remove empty ISOs if download fails 2023-09-01 15:41:54 -04:00
7ad7a2d819 Remove apt-cacher setup 2023-09-01 15:41:54 -04:00
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
4a4774a9bb Ensure isolinux is installed 2023-09-01 15:41:54 -04:00
cb3cb4a706 Reimplement initial fail 2023-09-01 15:41:54 -04:00
02a5507523 Revert "Set -noappend to mksquashfs just in case"
This reverts commit e3d0a4bf5d.
2023-09-01 15:41:54 -04:00
cfd9f9c75e Add date to ISO file name 2023-09-01 15:41:54 -04:00
2e746231cc Set -noappend to mksquashfs just in case 2023-09-01 15:41:54 -04:00
412aa161df Forcibly replace squashfs if it exists 2023-09-01 15:41:53 -04:00
72b773c778 Correct conditional for archived squashfs 2023-09-01 15:41:53 -04:00
59455e027a Theme the EFI Grub menu 2023-09-01 15:41:53 -04:00
a2b257ef9e Use amd64 EFI GRUB explicitly 2023-09-01 15:41:53 -04:00
ae6ed05b18 Flip the cached squashfs arg around 2023-09-01 15:41:53 -04:00
2a72e0a001 Reenable GRUB EFI mode 2023-09-01 15:41:53 -04:00
d4fe0bb005 Allow ignoring squashfs artifact 2023-09-01 15:41:53 -04:00
b5edeb9b1d Add missing artifacts path on ISO 2023-09-01 15:41:53 -04:00
9fd1359bc9 Cleanup a bit more 2023-09-01 15:41:53 -04:00
c0df5935d2 Further tweaks and improvements 2023-09-01 15:41:53 -04:00
d3ab0c5f7d Make name selection dynamic 2023-09-01 15:41:53 -04:00
cf669b52c2 Move autogen'd files to artifacts dir 2023-09-01 15:41:53 -04:00
898fb28cb8 Use sudo for the copy 2023-09-01 15:41:53 -04:00
c7b3dfff4c Include downloading of LiveISO too 2023-09-01 15:41:53 -04:00
422fb3cdcd Reverse order of squashfs creation/archive 2023-09-01 15:41:53 -04:00
a2b40021d0 Replace isolinux.cfg instead of menu.cfg 2023-09-01 15:41:53 -04:00
d9f43c47c4 Improve menu and generation 2023-09-01 15:41:53 -04:00
443e950c31 Remove Grub EFI 2023-09-01 15:41:53 -04:00
0a00d29b90 Create boot and ESP partitions 2023-09-01 15:41:53 -04:00
4a8a3e24ab Fix boot issue on liveboot 2023-09-01 15:41:53 -04:00
efd30c58b1 Just rename don't copy 2023-09-01 15:41:53 -04:00