2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-11 15:21:29 +00:00

Merge pull request #2591 from bybai/syncfiles

fix 2579 syncfile is in default node definition, but statelite does not support syncfiles
This commit is contained in:
yangsong
2017-03-03 15:50:05 +08:00
committed by GitHub

View File

@ -7,6 +7,13 @@
#
#####################################################
#statelite does not support syncfiles
if [ -d /.statelite ]; then
echo "Statelite does not support syncfiles, nothing to do..."
logger -t xcat -p local4.info "Statelite does not support syncfiles, nothing to do..."
exit 0
fi
if cat /etc/os-release |grep -i -e "^NAME=[ \"']*Cumulus Linux[ \"']*$" >/dev/null 2>&1 ; then
#TODO
echo "Cumulus OS is not supported yet, nothing to do..."