Commit Graph

255 Commits

Author SHA1 Message Date
Joshua Boniface 7433bc8372 Fix where network stop happens
This broke preseed config
2023-09-01 15:42:00 -04:00
Joshua Boniface e770efe64f Remove implicit /debian from mirror 2023-09-01 15:42:00 -04:00
Joshua Boniface 02a4b05e59 Allow passing mirror through buildpxe.sh 2023-09-01 15:42:00 -04:00
Joshua Boniface 4403bff888 Add message about building ISO 2023-09-01 15:42:00 -04:00
Joshua Boniface 79ecf05e1f Fix bad security mirror path 2023-09-01 15:42:00 -04:00
Joshua Boniface e7c8e9da6b Add message during wait 2023-09-01 15:42:00 -04:00
Joshua Boniface 1ec7444c36 Make reboot forcible to avoid weird issues 2023-09-01 15:42:00 -04:00
Joshua Boniface fb4f0fa213 Change default mirror 2023-09-01 15:42:00 -04:00
Joshua Boniface dff5dc3878 Add noeject config 2023-09-01 15:42:00 -04:00
Joshua Boniface 1ce4c3c791 Fix efivars mount 2023-09-01 15:42:00 -04:00
Joshua Boniface 36e439c78e Reset liveISO to bullseye
Bookworm seems to have a serious bug with PERC controllers causing the
drive to reset. This goes away with Bullseye, so use that instead.
2023-09-01 15:42:00 -04:00
Joshua Boniface df4471c26c Fix bug with active TTYs 2023-09-01 15:42:00 -04:00
Joshua Boniface 443678dee0 Add missing echo 2023-09-01 15:42:00 -04:00
Joshua Boniface 6cff55e63b Add more improvements to install prompts 2023-09-01 15:42:00 -04:00
Joshua Boniface 50d62157ca Use readline prompt if required 2023-09-01 15:42:00 -04:00
Joshua Boniface 83a837e72a Use non-free-firmware for liveISO 2023-09-01 15:42:00 -04:00
Joshua Boniface 268b8824df Better handle components for bookworm 2023-09-01 15:42:00 -04:00
Joshua Boniface afbe330155 Use bookworm for liveISO 2023-09-01 15:42:00 -04:00
Joshua Boniface 48622b1dff Improve menus for clarity 2023-09-01 15:42:00 -04:00
Joshua Boniface 48a35c8d60 Add bond support during initial network config 2023-09-01 15:42:00 -04:00
Joshua Boniface 12e316fd3e Improve messages and chroot finals 2023-09-01 15:42:00 -04:00
Joshua Boniface f047c79e54 Set discard on system disk if supported 2023-09-01 15:42:00 -04:00
Joshua Boniface 3fb6df84e1 Ensure python-is-python3 is installed on bullseye 2023-09-01 15:42:00 -04:00
Joshua Boniface 92eef048b2 Fix paths inside grub.cfg 2023-09-01 15:42:00 -04:00
Joshua Boniface 422ea1739f Fix bootloader configuration for live env 2023-09-01 15:42:00 -04:00
Joshua Boniface 364b1234f3 Fix bad variable replacement 2023-09-01 15:41:59 -04:00
Joshua Boniface 0bf509ca9c Fix incorrect variable reference 2023-09-01 15:41:59 -04:00
Joshua Boniface 6ba2666a8f Update default mirror to UWaterloo (Rogers outage) 2023-09-01 15:41:59 -04:00
Joshua Boniface 6bcfaae391 Remove extra final phase of boot checks 2023-09-01 15:41:59 -04:00
Joshua Boniface 57c08b6de6 Add missing mkdir 2023-09-01 15:41:59 -04:00
Joshua Boniface 6156cd305a Add bnxt_en to initramfs 2023-09-01 15:41:59 -04:00
Joshua Boniface cc545fba44 Fix missing initrd= option for liveboot 2023-09-01 15:41:59 -04:00
Joshua Boniface 31b9162d5e Remove obsolete flags from README 2023-09-01 15:41:59 -04:00
Joshua Boniface 7193b4e488 Make mirror server configurable 2023-09-01 15:41:59 -04:00
Joshua Boniface fcc4c992e6 Switch to Rafal's mirror
The official mirror is very slow and has problems with connectivity
sometimes.
2023-09-01 15:41:59 -04:00
Joshua Boniface 87a3275daa Remove internal poweroff after hook completion 2023-09-01 15:41:59 -04:00
Joshua Boniface d6e93b04cc Go back to buster
For some reason LB keeps installing buster anyways.
2023-09-01 15:41:59 -04:00
Joshua Boniface 79de677a96 Add support for cross-arch ISOs
Initial support for arm64 installer support, as well as supporting
building the amd64 files on arm64 (i.e. an RPi3/4)
2023-09-01 15:41:59 -04:00
Joshua Boniface 17f6cb51d1 Move into script dirs before running 2023-09-01 15:41:59 -04:00
Joshua Boniface 982614e3c1 Run buildiso.sh with a full path 2023-09-01 15:41:59 -04:00
Joshua Boniface c590411301 Add nicer output for detects 2023-09-01 15:41:59 -04:00
Joshua Boniface 0d32e27ea9 Modify detect match to 3%
This will handle corner cases of RAID devices that are a little smaller
than expected (300GB -> 293GB), which were a little outside the 2%
range, while still being close enough.
2023-09-01 15:41:59 -04:00
Joshua Boniface 98337295b1 Flip ID to end of detect string
This just seems to "flow" more for me.
2023-09-01 15:41:59 -04:00
Joshua Boniface ec23da72a7 Add delay during checkin script 2023-09-01 15:41:59 -04:00
Joshua Boniface cc68ce54b6 Replace block zeroing with wipefs
This is very time consuming and intensive on the disks and really
doesn't do anything, so use wipefs.
2023-09-01 15:41:59 -04:00
Joshua Boniface c7e8f0cd6a Fix weird spacing 2023-09-01 15:41:59 -04:00
Joshua Boniface dba6965294 Fix period finding and failures 2023-09-01 15:41:59 -04:00
Joshua Boniface 13e93b89d4 Add lsscsi to suppkglist 2023-09-01 15:41:59 -04:00
Joshua Boniface ab6e6b5c6a Adjust comment to reflect group_vars 2023-09-01 15:41:58 -04:00
Joshua Boniface e8aed11693 Handle target_disk detection strings
For preseed installs with pvcbootstrapd, implement "detect" strings,
which can be used instead of fixed block paths to determine the required
disk from a fixed set of information available to a human provisioning
the servers, or from Redfish.

The basic idea is thus:

  1. The user specifies some physical attributes of the disk, either
  manually in a detect string of the preseed configuration, or by a
  physical identifier that Redfish can identify.

  2. Redfish takes this and either passes it, or crafts a detect string
  itself based on its storage information, which is then passed to the
  installer preseed as the target_disk value.

  3. The installer uses the provided values along with the output of the
  "lsscsi" command to determine which block device to use for the system
  disk.

This supersedes and enhances the original "model-based" detection with
far greater reliability and the ability to specify specific indexes.
2023-09-01 15:41:58 -04:00