Commit Graph

57 Commits

Author SHA1 Message Date
Joshua Boniface 337fe22b29 Correct location of remove-root-pw.sh 2021-12-12 18:36:10 -05:00
Joshua Boniface 0f52de5b66 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.
2021-12-12 16:44:39 -05:00
Joshua Boniface 133d6fe994 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.
2021-12-11 18:48:26 -05:00
Joshua Boniface 152e176bd6 Add dosfstools to package list 2021-12-06 13:54:02 -05:00
Joshua Boniface 24758a765b Improve preseeding config 2021-12-06 02:49:33 -05:00
Joshua Boniface 3fb93b8359 Improve logging and messages 2021-12-04 02:47:55 -05:00
Joshua Boniface 30f9bbec95 Improve option handling errors
The getopts framework just sucks for this, so do it manually.
2021-12-04 02:39:49 -05:00
Joshua Boniface f858d03ff9 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).
2021-12-04 02:19:13 -05:00
Joshua Boniface d19d1554ac Add better messages to indicate skipping 2021-09-08 11:15:15 -04:00
Joshua Boniface 01a0307b21 Add help for username 2021-04-13 16:51:08 -04:00
Joshua Boniface 2c6960129d Fix ordering of help options 2021-04-13 11:38:46 -04:00
Joshua Boniface bc36ddca21 Allow customizing the deployment username
Defaulted to 'deploy' but should be overrideable.
2021-04-13 11:35:02 -04:00
Joshua Boniface 192c7ba18a Add support for vLANs in installer 2020-09-25 12:43:35 -04:00
Joshua Boniface 91a2cdf4b6 Add some additional supplemental packages (fw) 2020-08-17 11:44:23 -04:00
Joshua Boniface acae8648f6 Handle failing to bind mount 2020-08-16 21:49:53 -04:00
Joshua Boniface 643375a5d3 Use local archives dir for debootstrapping 2020-08-16 21:36:39 -04:00
Joshua Boniface ba92f6c569 QOL improvements to scripts and script 2020-08-16 21:29:18 -04:00
Joshua Boniface d175d7c425 Correct issues with isolinux boot 2020-08-16 21:12:13 -04:00
Joshua Boniface 4952e6020e Conveniently print all fails at once 2020-08-16 12:15:39 -04:00
Joshua Boniface 3f9f0a794f Ensure resolv.conf is set too 2020-05-28 15:30:02 -04:00
Joshua Boniface 6d19fd1772 Add cacertificates to live ISO package list 2019-12-13 14:16:00 -05:00
Joshua Boniface 97d05a64bc Fix missing semicolon 2019-12-13 14:09:03 -05:00
Joshua Boniface dca259e465 Use the active standard ISO image dynamic 2019-12-13 13:46:58 -05:00
Joshua Boniface ba7bd8d43b Remove empty ISOs if download fails 2019-12-13 13:39:33 -05:00
Joshua Boniface fd3b685def Remove apt-cacher setup 2019-07-07 02:35:58 -04:00
Joshua Boniface b64a241763 Allow last-minute editing of interfaces file
Allow this to happen before the installer completes, rather than once
the system starts up.
2019-06-21 13:44:06 -04:00
Joshua Boniface 055007a9d3 Ensure isolinux is installed 2019-06-17 22:27:16 -04:00
Joshua Boniface b3d9d47cfe Reimplement initial fail 2019-06-17 22:09:31 -04:00
Joshua Boniface c94d21e258 Revert "Set -noappend to mksquashfs just in case"
This reverts commit e3d0a4bf5d.
2019-06-17 22:03:54 -04:00
Joshua Boniface 75d3c720d0 Add date to ISO file name 2019-06-17 13:26:18 -04:00
Joshua Boniface e3d0a4bf5d Set -noappend to mksquashfs just in case 2019-06-17 10:27:59 -04:00
Joshua Boniface 930632cb7d Forcibly replace squashfs if it exists 2019-06-15 23:39:21 -04:00
Joshua Boniface 1c63100078 Correct conditional for archived squashfs 2019-06-15 22:25:45 -04:00
Joshua Boniface 6454844766 Theme the EFI Grub menu 2019-06-15 17:24:14 -04:00
Joshua Boniface 751f02df83 Use amd64 EFI GRUB explicitly 2019-06-15 14:59:19 -04:00
Joshua Boniface ddbf2e8cca Flip the cached squashfs arg around 2019-06-15 14:27:19 -04:00
Joshua Boniface 3d4e25e3fe Reenable GRUB EFI mode 2019-06-14 18:31:44 -04:00
Joshua Boniface 16d98f86fd Allow ignoring squashfs artifact 2019-06-14 18:19:23 -04:00
Joshua Boniface adaabaf9f5 Add missing artifacts path on ISO 2019-06-14 15:02:03 -04:00
Joshua Boniface e0d84da510 Cleanup a bit more 2019-06-14 14:31:14 -04:00
Joshua Boniface 076d85b79b Further tweaks and improvements 2019-06-14 13:54:00 -04:00
Joshua Boniface 06ff2b4c51 Make name selection dynamic 2019-06-14 13:34:15 -04:00
Joshua Boniface 6393215e14 Move autogen'd files to artifacts dir 2019-06-14 13:32:52 -04:00
Joshua Boniface 99c0945e50 Use sudo for the copy 2019-06-14 13:15:27 -04:00
Joshua Boniface ae6b851f5b Include downloading of LiveISO too 2019-06-14 13:08:43 -04:00
Joshua Boniface 724be9df5c Reverse order of squashfs creation/archive 2019-06-14 13:06:16 -04:00
Joshua Boniface 840dc17623 Replace isolinux.cfg instead of menu.cfg 2019-06-14 13:01:22 -04:00
Joshua Boniface 3134c8d793 Improve menu and generation 2019-06-14 11:27:45 -04:00
Joshua Boniface d2d9da5f28 Remove Grub EFI 2019-06-13 22:43:58 -04:00
Joshua Boniface d62ab088b8 Create boot and ESP partitions 2019-06-13 21:53:50 -04:00