Commit Graph

64 Commits

Author SHA1 Message Date
Joshua Boniface 9939e1f42d Convert seed example to jinja2 and copy in
The pvcbootstrapd system will load this template and write it out for
each host. But keep the nice comments for human-readable use just in
case.
2023-09-01 15:41:57 -04:00
Joshua Boniface ee89c0f5ad Convert preseed to supplemental package list
Converts the option that the preseed file gives into a supplemental
package list by default to avoid accidentally overwriting required
packages.

Also add ipmitool to the supplemental packages list.
2023-09-01 15:41:57 -04:00
Joshua Boniface d4640df3ce Add additional consoles to initial GRUB 2023-09-01 15:41:57 -04:00
Joshua Boniface 2e7c2071b5 Remove extra sleep 2023-09-01 15:41:57 -04:00
Joshua Boniface f5773eb2d7 Remove respawn and promote skip_blockcheck
1. Remove the respawning and replace with a restart, since it never
worked properly. Also add a "DONE" flag to prevent repeated triggering
during cleanup.

2. Promote the skip_blockcheck to a requested configuration item and a
fully-featured key in the tftp preseed file.
2023-09-01 15:41:57 -04:00
Joshua Boniface 23834a2c61 Lower ethdevice-timeout to 300s
With the auto-reboot implemented waiting this long is not required.
2023-09-01 15:41:57 -04:00
Joshua Boniface 9af47557f1 Use more reliable grep method 2023-09-01 15:41:57 -04:00
Joshua Boniface 4a43285ae2 Add interactive shell too 2023-09-01 15:41:57 -04:00
Joshua Boniface 8b45bbabae Fix bad grep 2023-09-01 15:41:57 -04:00
Joshua Boniface fafe47b79b Fix panic spawning shell 2023-09-01 15:41:57 -04:00
Joshua Boniface 7026ad29d2 Fix missing test command 2023-09-01 15:41:57 -04:00
Joshua Boniface e2072a4979 Fix typo in remove-root-pw script 2023-09-01 15:41:57 -04:00
Joshua Boniface d6c1c8f38a Improve TTY locking
Prefer serial consoles to TTYs, and present a timeout on graphical TTYs.
2023-09-01 15:41:57 -04:00
Joshua Boniface c8f1d853a0 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.
2023-09-01 15:41:57 -04:00