Commit Graph

83 Commits

Author SHA1 Message Date
Joshua Boniface 2fdb3b4813 Add python-is-python3 to installer 2023-09-01 15:42:00 -04:00
Joshua Boniface 7433bc8372 Fix where network stop happens
This broke preseed config
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 1ce4c3c791 Fix efivars mount 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 268b8824df Better handle components for bookworm 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 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 87a3275daa Remove internal poweroff after hook completion 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 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
Joshua Boniface 05e567c667 Add lsscsi to installer 2023-09-01 15:41:58 -04:00
Joshua Boniface ab7662c6de Fix template for updated pvcbootstrapd 2023-09-01 15:41:58 -04:00
Joshua Boniface 36ffc2cebf Fix boot.ipxe name and add host-ipxe template 2023-09-01 15:41:58 -04:00
Joshua Boniface 5ebc1a76d0 Restandardize arguments to checkin 2023-09-01 15:41:58 -04:00
Joshua Boniface 8062f4bad8 Adjust name of checkin URI 2023-09-01 15:41:58 -04:00
Joshua Boniface 2622e2136f Adjust names of checking actions 2023-09-01 15:41:58 -04:00
Joshua Boniface 88696a7bba Simplify hook check and move rm task 2023-09-01 15:41:58 -04:00
Joshua Boniface 18ab16e86d Redirect cURL output to stderr 2023-09-01 15:41:58 -04:00
Joshua Boniface 5cfe70d021 Respawn instead of reboot if script fails 2023-09-01 15:41:58 -04:00
Joshua Boniface b2e3df099e Suppress useless output 2023-09-01 15:41:58 -04:00
Joshua Boniface 30255292e2 Add blacklisting in installer 2023-09-01 15:41:58 -04:00
Joshua Boniface 8ba9c8c5bd Suppress output to stderr 2023-09-01 15:41:58 -04:00
Joshua Boniface f62972175d Add blacklist config to preseed 2023-09-01 15:41:58 -04:00
Joshua Boniface e5447e49d3 Add module blacklisting to installer 2023-09-01 15:41:58 -04:00
Joshua Boniface 5290cbaaa9 Add noautogroup too
As per https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1318551
2023-09-01 15:41:58 -04:00
Joshua Boniface 0870e458a2 Add blacklist of hpwdt to default cmdline 2023-09-01 15:41:58 -04:00