The sleep is to make sure libvirt has finished initializing otherwise
NodeManager will throw exception.
[ -f /etc/sysconfig/nodemanager ] && . /etc/sysconfig/nodemanager
[ -f /etc/sysconfig/nodemanager ] && . /etc/sysconfig/nodemanager
+# Wait for libvirt to finish initializing
+sleep 10
+
options=${OPTIONS-"-d"}
# turn on verbosity
verboseoptions=${DEBUGOPTIONS-"-v -d"}
options=${OPTIONS-"-d"}
# turn on verbosity
verboseoptions=${DEBUGOPTIONS-"-v -d"}