Commit Graph

21 Commits

Author SHA1 Message Date
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 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 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 d90ef479ef Fix incorrect echo statement 2023-09-01 15:41:57 -04:00
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 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
Joshua Boniface e6aa738a7d Remove serial console from installer boot cmdline
Having two consoles causes problems, so just remove it.
2023-09-01 15:41:57 -04:00
Joshua Boniface df9b6e4dc6 Bump ethdevice-timeout to 600s
It seems that this can time out if dnsmasq is already sending a TFTP
file. To prevent this just bump up the timeout to 10 minutes.
2023-09-01 15:41:57 -04:00
Joshua Boniface d8e08ac5ef Complete implementation of seed install
Some fixed decisions were made, namely that bond0 would be created by
the installer from "all other interfaces" to facilitate easy
provisioning.
2023-09-01 15:41:57 -04:00
Joshua Boniface 3707202c5e Improve preseeding config 2023-09-01 15:41:56 -04:00
Joshua Boniface b3d2580eeb Fix destination host dir 2023-09-01 15:41:56 -04:00
Joshua Boniface ae6bfb974c Fix tabs 2023-09-01 15:41:56 -04:00
Joshua Boniface 023463574c Improve logging and messages 2023-09-01 15:41:56 -04:00
Joshua Boniface 976f5e444a Fix bad option 2023-09-01 15:41:56 -04:00
Joshua Boniface 0dfedda8d9 Improve option handling errors
The getopts framework just sucks for this, so do it manually.
2023-09-01 15:41:56 -04:00
Joshua Boniface 818f6a636d Add buildpxe.sh framework
Adds a script to set up a PXE image directory for the PVC installer.
Provides an alternative to the ISO for automating deploys in a
controlled, PXE-based environment.
2023-09-01 15:41:56 -04:00