Commit Graph

17 Commits

Author SHA1 Message Date
Joshua Boniface d015489a83 Fix incorrect conditional for failures 2021-12-13 01:27:51 -05:00
Joshua Boniface e3f9ee8945 Add workaround if keys fail to fetch 2021-12-13 01:25:59 -05:00
Joshua Boniface 1e1426df13 Add addpkglist to prompt options and use apt-get 2021-12-12 23:37:52 -05:00
Joshua Boniface 62b06f9c1b 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.
2021-12-12 23:28:00 -05:00
Joshua Boniface 483068c38c 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.
2021-12-12 23:27:01 -05:00
Joshua Boniface dcc608d090 Add additional consoles to initial GRUB 2021-12-12 23:10:59 -05:00
Joshua Boniface 5924a78edc Remove extra sleep 2021-12-12 23:09:47 -05:00
Joshua Boniface 03a01d563c 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.
2021-12-12 23:06:10 -05:00
Joshua Boniface d9c527d72c Lower ethdevice-timeout to 300s
With the auto-reboot implemented waiting this long is not required.
2021-12-12 22:28:24 -05:00
Joshua Boniface 7b3f0e5f0d Use more reliable grep method 2021-12-12 20:18:47 -05:00
Joshua Boniface 0767984729 Add interactive shell too 2021-12-12 20:05:11 -05:00
Joshua Boniface 19b96b4ade Fix bad grep 2021-12-12 19:50:00 -05:00
Joshua Boniface d17073dc7f Fix panic spawning shell 2021-12-12 19:43:43 -05:00
Joshua Boniface 64b36c0c67 Fix missing test command 2021-12-12 18:49:51 -05:00
Joshua Boniface 0741e5ea6b Fix typo in remove-root-pw script 2021-12-12 18:35:23 -05:00
Joshua Boniface 5642779dbf Improve TTY locking
Prefer serial consoles to TTYs, and present a timeout on graphical TTYs.
2021-12-12 16:44:46 -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