This package is the common base for PXE/TFTP in the LibreSchool project.
## Requirements ##
A working [LibreSchool][] installation is required.
## Usage ##
Each host has a property called **PXEImage**, which defines the default PXE image to use for system boot. If this property is not set, the **localhd** image is assumed. You can set this image via db:
```bash
db hosts setprop lab01 \
PXEImage memtest
```
By running the above command, every time the host is booted, the **memtest** image will be used.
You can also use the **PXEImageOneTime** property, which will use the specified image on the next PXE boot. The property will be resetted after the boot.
```bash
db hosts setprop lab01 \
PXEImage localhd \
PXEImageOneTime memtest
```
By running the above command, the **memtest** image will be used for one boot only.
When there's no specific setting for the host, the host is not in the hosts db, or the image specified for the host is not available, the *default image* is used.
To set the default image, you can use this command: