Commit Graph

212 Commits

Author SHA1 Message Date
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 808bdae92c Update file copyright header 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 b708058b06 Readd components 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 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 e5a60f56d4 Ensure resolv.conf is set too 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 0ecf3dc1a4 Update README with GitHub notice and links 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 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 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 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 4531600a5a Tweak default disk sizes
root=32G, +16G
ceph=8G,  -8G
2023-09-01 15:41:54 -04:00
Joshua Boniface 9204baa72d Correct spelling mistake in README 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 7ad7a2d819 Remove apt-cacher setup 2023-09-01 15:41:54 -04:00
Joshua Boniface b5ce6cbe93 Add installing section to README 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 f986431d2c Add proper license to README 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 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
Joshua Boniface ce64cf9bd5 Don't fail script if partprobe fails 2023-09-01 15:41:54 -04:00