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.
This commit is contained in:
2022-03-17 15:15:04 -05:00
parent 5a284faa5c
commit 02e4df023c
4 changed files with 49 additions and 0 deletions

6
pxe.yml Normal file
View File

@@ -0,0 +1,6 @@
- hosts: pxe
roles:
- role: pxe
tags: pxe
- role: netboot/jenkins-agent
tags: netboot/jenkins-agent