1 Star 0 Fork 13

changtao/cobbler

forked from src-openEuler/cobbler 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
huawei-repair-switch-condition-error.patch 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
bitcoffee 提交于 2021-06-29 01:01 . init package
From 23087fd58b8f7b62c35dcaaae0e7db7713a8172e Mon Sep 17 00:00:00 2001
From: bitcoffee <[email protected]>
Date: Tue, 29 Jun 2021 00:44:49 +0800
Subject: [PATCH] repair switch condition error
---
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 e8a2b91..cc3cfb1 100644
--- a/templates/etc/dhcp.template
+++ b/templates/etc/dhcp.template
@@ -36,12 +36,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.30.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/changtao615/cobbler.git
[email protected]:changtao615/cobbler.git
changtao615
cobbler
cobbler
master

搜索帮助