Fix Release 1, ESXi EFI boot normal
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
2
sunhpc
2
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
|
||||
|
||||
Reference in New Issue
Block a user