Commit Graph

3 Commits (142682ce2f7d73ad94bc11ab4e34b7f60a09e436)

Author SHA1 Message Date
Dustin f08f147931 r/pxe: Depend on apache role
Now that we're serving kickstart files from the PXE server, we need to
have a correctly-configured HTTPD server, with valid HTTPS certificates,
running there.
2025-07-13 16:02:57 -05:00
Dustin a23bb1f043 r/pxe: Add directory for serving kickstarts
Now that kickstart scripts are generated from templates by a Jenkins
job, they need to be stored somewhere besides Gitea.  It makes sense to
serve them from the PXE server, since it's involved in the installation
process anyway (at least for physical machines).   Thus, we need a path
where the generated files can be uploaded by Jenkins and served by
Apache.
2025-07-12 16:12:23 -05:00
Dustin 02e4df023c r/pxe: Set up a PXE server
The *pxe* role configures the TFTP and NBD stages of PXE network
booting.  The TFTP server provides the files used for the boot stage,
which may either be a kernel and initramfs, or another bootloader like
SYSLINUX/PXELINUX or GRUB.  The NBD server provides the root filesystem,
typically mounted by code in early userspace/initramfs.

The *pxe* role also creates a user group called *pxeadmins*.  Users in
this group can publish content via TFTP; they have write-access to the
`/var/lib/tftpboot` directory.
2022-08-15 17:12:35 -05:00