Joshua Boniface
598d82f5a8
Drop support for old releases
...
As PVC 0.9.101+ no longer support buster or bullseye, remove them as
installer options.
2024-10-25 01:48:54 -04:00
Joshua Boniface
362c52e3e5
Add detect parser script (from pvc) and use it
2024-08-30 10:46:41 -04:00
Joshua Boniface
845e6e3b83
Add proper support for NVMe root disks
...
Required for Dell BOSS SL10 cards which expose themselves as a
/dev/nvmeX device rather than a /dev/sdX device.
2024-05-23 11:05:08 -04:00
Joshua Boniface
d52e59ea62
Include lsb-release in base packages
...
For whatever reason, on Debian 12, without lsb-release the
ansible_distribution_release variable is undefined, even though it
isn't. To work around this, just ensure we always have lsb-release
installed to provide a reliable OS version fact.
2024-03-06 16:43:43 -05:00
Joshua Boniface
3dcaace183
Move to ip link instead of vconfig
2024-03-01 13:24:56 -05:00
Joshua Boniface
24d7ffd0d0
Install correct GRUB packages
2023-09-05 10:38:01 -04:00
Joshua Boniface
01948e9597
Add timers to run steps
2023-09-01 15:43:25 -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
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
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
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
5ebc1a76d0
Restandardize arguments to checkin
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
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
Joshua Boniface
59c9e662e5
Handle cancellation properly
2023-09-01 15:41:58 -04:00
Joshua Boniface
c3d828e1e3
Fix typo'd name
2023-09-01 15:41:58 -04:00
Joshua Boniface
fb058906a8
Ensure other vgchange succeeds too
2023-09-01 15:41:58 -04:00
Joshua Boniface
950ca378f8
Improve and move cleanup earlier
2023-09-01 15:41:58 -04:00