xcat-core/xCAT-server/share/xcat/netboot/esxi/99.esxiready

11 lines
345 B
Plaintext
Raw Normal View History

#!/bin/sh
for param in `vsish -e get /system/bootCmdLine|head -n 2 |tail -n 1`; do
if [ "xcatd" = ${param%=*} ]; then
xcatd=${param#*=}
fi
done
localcli network firewall unload
echo -e '<xcatrequest>\n<command>esxiready</command></xcatrequest>' | openssl s_client -connect $xcatd
localcli network firewall load
return ${SUCCESS}