我正在使用VSphere来启动一系列CentOS 6.5作为操作系统的虚拟机。
我希望能够在操作系统安装完成后用bash脚本告诉。 我尝试过使用ping,但是在Anaconda仍在运行时返回true。
有没有使用bash或VSphere API来确定操作系统安装是否完成的方法?
也许touch %post脚本中的标记文件?
touch
%post
请参阅https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-kickstart2-postinstallconfig.html上的文档