Go to file
Paolo Asperti cc60775ad7
continuous-integration/drone/push Build is passing Details
added popos 20.04
2020-05-02 22:49:49 +02:00
root added popos 20.04 2020-05-02 22:49:49 +02:00
.drone.yml added a lot of images 2020-04-01 19:01:49 +02:00
.editorconfig initial import 2020-03-24 11:06:15 +01:00
.gitignore initial import 2020-03-24 11:06:15 +01:00
COPYING initial import 2020-03-24 11:06:15 +01:00
README.md added default image for all clients (known and unkown) 2020-04-28 22:44:40 +02:00
createlinks added a lot of images 2020-04-01 19:01:49 +02:00
libreschool-pxeserver.spec added popos 20.04 2020-05-02 22:49:49 +02:00

README.md

libreschool-pxeserver

Build Status

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:

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.

db hosts setprop lab01 \
  PXEImage localhd \
  PXEImageOneTime memtest

By running the above command, the memtest image will be used for one boot only.

default image

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:

db configuration setprop pxeserver-httpd \
  defaultimage memtest

TODO / ideas

  • Create a menu, for interactive selection
  • FIX createlinks

License

As the rest of the LibreSchool project, libreschool-pxeserver is licensed under GPLv3 license.