configuration-templates – Blame information for rev 51

Subversion Repositories:
Rev:
Rev Author Line No. Line
51 office 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ##
4 ## rights of fair usage, the disclaimer and warranty conditions. ##
5 ###########################################################################
6 ## Class for iPXE/PXE booting serving files through TFTP. ##
7 ###########################################################################
8  
9 class "PXE" {
10 match if ( substring(option vendor-class-identifier, 0, 9) = "PXEClient" );
11  
12 # Chain iPXE to PXE by specifying the next server.
13 if exists user-class and option user-class = "iPXE" {
14 filename "/srv/tftp/pxe/PC/bootx64.efi";
15 next-server 192.168.0.1;
16 }
17 # If this is a regular PXE client, load PXE.
18 elsif substring(option vendor-class-identifier, 0, 9) = "PXEClient" {
19 filename "/srv/tftp/pxe/PC/pxelinux.0";
20 }
21 # Otherwise, chainload iPXE.
22 else {
23 filename "/srv/tftp/pxe/PC/undionly.kpxe";
24 }
25 }