summaryrefslogtreecommitdiff
path: root/0001-modify-the-templates-etc-dhcp.template.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-modify-the-templates-etc-dhcp.template.patch')
-rw-r--r--0001-modify-the-templates-etc-dhcp.template.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/0001-modify-the-templates-etc-dhcp.template.patch b/0001-modify-the-templates-etc-dhcp.template.patch
new file mode 100644
index 0000000..9e7cf10
--- /dev/null
+++ b/0001-modify-the-templates-etc-dhcp.template.patch
@@ -0,0 +1,31 @@
+From e4ff3cbad33c3d5549acc70c148b7a07d697d926 Mon Sep 17 00:00:00 2001
+From: YanZhicong <mryanzhicong@163.com>
+Date: Wed, 19 Mar 2025 09:53:01 +0800
+Subject: [PATCH] modify the templates/etc/dhcp.template
+
+---
+ templates/etc/dhcp.template | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/templates/etc/dhcp.template b/templates/etc/dhcp.template
+index 698c826..8afecea 100644
+--- a/templates/etc/dhcp.template
++++ b/templates/etc/dhcp.template
+@@ -34,12 +34,12 @@ subnet 192.168.1.0 netmask 255.255.255.0 {
+ filename "pxelinux.0";
+ }
+ # UEFI-32-1
+- if option system-arch = 00:06 {
++ else if option system-arch = 00:06 {
+ # Not supported, no 32 bit UEFI grub executable
+ filename "unsupported";
+ }
+ # UEFI-32-2
+- if option system-arch = 00:02 {
++ else if option system-arch = 00:02 {
+ # Not supported, no 32 bit UEFI grub executable
+ filename "unsupported";
+ }
+--
+2.33.0
+