Commit Graph

73 Commits

Author SHA1 Message Date
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
Joshua Boniface bd9885530f Add one more empty space 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 e1598f5895 Slight tweaks to installer script 2023-09-01 15:41:54 -04:00
Joshua Boniface ce64cf9bd5 Don't fail script if partprobe fails 2023-09-01 15:41:54 -04:00
Joshua Boniface f0d46a6440 Improve disk printing and layout 2023-09-01 15:41:54 -04:00
Joshua Boniface 07a50bc862 Revamp output messages and ordering 2023-09-01 15:41:54 -04:00
Joshua Boniface e08e37a31f Verify that SSH keys URL is valid 2023-09-01 15:41:54 -04:00
Joshua Boniface 4753050f7f Add generation of SSH host keys 2023-09-01 15:41:54 -04:00
Joshua Boniface 18b7ad2dab Install ntp as well 2023-09-01 15:41:54 -04:00
Joshua Boniface aceb611d1f Install ca-certificates as well 2023-09-01 15:41:54 -04:00
Joshua Boniface 8f7b0b4a6c Install python stub too 2023-09-01 15:41:54 -04:00
Joshua Boniface 0c291c535b Install python during install 2023-09-01 15:41:54 -04:00
Joshua Boniface da2a489721 Install vlan and bonding in target 2023-09-01 15:41:54 -04:00
Joshua Boniface 46899e3433 Improve output message at end of install 2023-09-01 15:41:54 -04:00
Joshua Boniface b3c2d05277 Fix some bugs and set NOPASSWD 2023-09-01 15:41:54 -04:00