From fac502e736b34651d348d8eaef1abdcd2721ec5a Mon Sep 17 00:00:00 2001 From: kelvin Date: Mon, 27 Apr 2026 23:10:13 +0800 Subject: [PATCH] Fix Release 1, ESXi EFI boot normal --- pkgs/ks/init.sh | 2 +- pkgs/ks/rhel.ks | 1 - sunhpc | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/ks/init.sh b/pkgs/ks/init.sh index b9c810d..ea1845c 100644 --- a/pkgs/ks/init.sh +++ b/pkgs/ks/init.sh @@ -79,7 +79,7 @@ check_network() { log_step "Checking network connectivity..." # 测试网络连接 - if ping -c 1 -W 3 FRONTEND_IP &>/dev/null; then + if ping -c 1 -W 3 $FRONTEND_IP &>/dev/null; then log_info "Network connectivity: OK" return 0 else diff --git a/pkgs/ks/rhel.ks b/pkgs/ks/rhel.ks index 8c56b86..b93a0e9 100644 --- a/pkgs/ks/rhel.ks +++ b/pkgs/ks/rhel.ks @@ -38,7 +38,6 @@ nfs4-acl-tools sssd-nfs-idmap %end -sshpw --username=root rootpw --plaintext "admin_b101" user --name=dell --plaintext --password="admin_b101" --gecos="dell" reboot diff --git a/sunhpc b/sunhpc index 70bf207..951e7b3 100755 --- a/sunhpc +++ b/sunhpc @@ -1462,7 +1462,7 @@ init_run() { echo "dhcp-match=set:ipxe,option:user-class,ipxe" echo "" echo "dhcp-boot=tag:bios,tag:!ipxe,$biosboot" - echo "dhcp-boot=tag:uefi,tag:!ipxe,$uefiboot" + echo "dhcp-boot=tag:uefi,tag:!ipxe,$ipxeboot" echo "dhcp-boot=tag:ipxe,$ks_ipxe" } > ${dnsmasq_conf} if ! service dnsmasq start; then