Commit Graph

88 Commits

Author SHA1 Message Date
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 cf42c366e0 Redirect output to stdout 2023-09-01 15:41:57 -04:00
Joshua Boniface afc125bf83 Output DD results 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 8de0b4541a Add collision detection 2023-09-01 15:41:57 -04:00
Joshua Boniface 8dd16310b7 Fix package lists for bullseye 2023-09-01 15:41:57 -04:00
Joshua Boniface eccba97db0 Improve log messages 2023-09-01 15:41:57 -04:00
Joshua Boniface de179d2b65 Fix bad variable name 2023-09-01 15:41:56 -04:00
Joshua Boniface 65b96a3b1b Optimize install.sh
1. Fix borked logfile
2. Exclude systemd-timesyncd for bullseye installs
3. Optimize block zeroing
4. Add some missing yes| in lvcreate/mkfs
2023-09-01 15:41:56 -04:00
Joshua Boniface 3707202c5e Improve preseeding config 2023-09-01 15:41:56 -04:00
Joshua Boniface 924ee347d2 Finish up seed install 2023-09-01 15:41:56 -04:00
Joshua Boniface 0dcb39a2f5 Work on modular installer 2023-09-01 15:41:56 -04:00
Joshua Boniface 246562cb65 Revamp header into date 2023-09-01 15:41:56 -04:00
Joshua Boniface 769e19dae9 Enhance warning message 2023-09-01 15:41:56 -04:00
Joshua Boniface c61847f7c9 Adjust final messages 2023-09-01 15:41:56 -04:00
Joshua Boniface 552062c9a1 Add wait for networking to be ready 2023-09-01 15:41:56 -04:00
Joshua Boniface 736e1e3a83 Add success messages to wget lookups 2023-09-01 15:41:56 -04:00
Joshua Boniface d5a4cf7397 Remove per-distro stuff 2023-09-01 15:41:56 -04:00
Joshua Boniface ec809157f8 Add per-release packages 2023-09-01 15:41:56 -04:00
Joshua Boniface ee98ed1fe7 Fix bugs and improve messages 2023-09-01 15:41:55 -04:00
Joshua Boniface 73c6434f68 Add support for alternate Debian mirrors and rels 2023-09-01 15:41:55 -04:00
Joshua Boniface b3b6168873 Reformat notes and tweak base disk size again
Allow ~30GB disks to be used, since these are rare and 32GB is a common
SD card/MMC size.
2023-09-01 15:41:55 -04:00
Joshua Boniface 61f7357476 Bump install disk sizes for 0.9.26 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 2cb5832a7e Make mounts immutable and make/mount tmpfs 2023-09-01 15:41:55 -04:00
Joshua Boniface f1a57b1f42 Add tmpfs to systems by default 2023-09-01 15:41:55 -04:00
Joshua Boniface 27749b7fe5 Fix typo in fstab config 2023-09-01 15:41:55 -04:00
Joshua Boniface 593bf1741e Add non-free to main sources.list
The main file is the only one handled by the Ansible role, so don't add
this to another file that would have to then be managed too.
2023-09-01 15:41:55 -04:00
Joshua Boniface cdb8819bc5 Make prompts more consistent 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 a96e0b61dc Formatting perfectionism fix 2023-09-01 15:41:55 -04:00
Joshua Boniface 71009934b6 Allow chroot in target and install blx2 firmware 2023-09-01 15:41:55 -04:00
Joshua Boniface a908082274 Fix password set 2023-09-01 15:41:55 -04:00
Joshua Boniface 6e86a2ea02 Set temporary root password in installed system
Used only for troubleshooting as this is NOT secure being in this repo.
Users may change this if they wish, but it's intention is not to be used
for any sort of long- (or even medium-) term administration. PVC Ansible
replaces this with a per-site root password.
2023-09-01 15:41:55 -04:00
Joshua Boniface ebdd8bf1d0 Force grub-install to complete with blocklists
Needed when running in BIOS (vs UEFI) mode.
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 4cf98e06a7 QOL improvements to scripts and script 2023-09-01 15:41:55 -04:00
Joshua Boniface 9a7915e70c Set nameserver for static IPs 2023-09-01 15:41:55 -04:00
Joshua Boniface 04c195e8b5 Move interface up setps before requesting keys URL 2023-09-01 15:41:54 -04:00
Joshua Boniface eeded17927 Add disk sizing checks in PVC installer script 2023-09-01 15:41:54 -04:00
Joshua Boniface 9eecf10479 Fix syntax error at end of installer 2023-09-01 15:41:54 -04:00
Joshua Boniface 320effef91 Fix bad path in installer 2023-09-01 15:41:54 -04:00
Joshua Boniface 5e62235a54 Correct ownership of deploy homedir too 2023-09-01 15:41:54 -04:00
Joshua Boniface c5cd38ce68 Set authorized_keys to 0600 permissions 2023-09-01 15:41:54 -04:00
Joshua Boniface f3eb8e483b Don't mention interfaces file, fully managed now 2023-09-01 15:41:54 -04:00
Joshua Boniface 8f3d3b90ac Add eno to second grep too 2023-09-01 15:41:54 -04:00
Joshua Boniface ccfa042ef0 Add an extra newline 2023-09-01 15:41:54 -04:00
Joshua Boniface 60ae9af7ac Add help text and find enoX interfaces too 2023-09-01 15:41:54 -04:00
Joshua Boniface 4531600a5a Tweak default disk sizes
root=32G, +16G
ceph=8G,  -8G
2023-09-01 15:41:54 -04:00
Joshua Boniface ffcd6c9b30 Don't errexit at the end 2023-09-01 15:41:54 -04:00