You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Paolo Asperti cc60775ad7
added popos 20.04
2 years ago
root added popos 20.04 2 years ago
.drone.yml added a lot of images 3 years ago
.editorconfig initial import 3 years ago
.gitignore initial import 3 years ago
COPYING initial import 3 years ago
README.md added default image for all clients (known and unkown) 2 years ago
createlinks added a lot of images 3 years ago
libreschool-pxeserver.spec added popos 20.04 2 years ago

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.