mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
fix 2579 syncfile is in default node definition, but statelite does not support syncfile
This commit is contained in:
parent
98f63edc58
commit
ac4d9da56a
@ -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..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user