summaryrefslogtreecommitdiffstats
path: root/server/etc
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2018-04-19 11:41:58 +0000
committerramon <ramongomez@us.es>2018-04-19 11:41:58 +0000
commit2c5a875a5ffd6c3fec3441a6e865e5df02f769c2 (patch)
treec3e4a3c2cd2f8e042165ad7880a114619adb7c14 /server/etc
parent2cce651a4b4dc87fbd120e44cfbc13f4322ccde7 (diff)
#802: Adaptar plantilla DHCP y preparar primera plantilla PXE para sistemas UEFI.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5735 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/etc')
-rw-r--r--server/etc/dhcpd.conf.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/etc/dhcpd.conf.tmpl b/server/etc/dhcpd.conf.tmpl
index a80b42db..afe8d58c 100644
--- a/server/etc/dhcpd.conf.tmpl
+++ b/server/etc/dhcpd.conf.tmpl
@@ -1,4 +1,5 @@
ddns-update-style none;
+option arch code 93 = unsigned integer 16;
option domain-name "example.org";
log-facility local7;
not-authoritative;
@@ -11,6 +12,12 @@ subnet NETIP netmask NETMASK {
max-lease-time 7200;
next-server SERVERIP;
filename "grldr";
+ # 0007 == x64 EFI boot
+ if option arch = 00:07 {
+ filename "grubnetx64.efi.signed";
+ } else {
+ filename "grldr";
+ }
use-host-decl-names on;
# Ejemplo para PC.