diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index b54c5e23f..d39334f64 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -25,6 +25,13 @@ #enable debug #set -x +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..." + logger -t xcat -p local4.info "Cumulus OS is not supported yet, nothing to do..." + exit 0 +fi + # pmatch determines if 1st argument string is matched by 2nd argument pattern pmatch () diff --git a/xCAT/postscripts/remoteshell b/xCAT/postscripts/remoteshell index bf0be9dd0..c2023426a 100755 --- a/xCAT/postscripts/remoteshell +++ b/xCAT/postscripts/remoteshell @@ -12,6 +12,12 @@ # # if on the Management Node, exit +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..." + logger -t xcat -p local4.info "Cumulus OS is not supported yet, nothing to do..." + exit 0 +fi if [ "$(uname -s|tr 'A-Z' 'a-z')" = "linux" ];then str_dir_name=`dirname $0` diff --git a/xCAT/postscripts/syncfiles b/xCAT/postscripts/syncfiles index 488571e2a..0875a5388 100644 --- a/xCAT/postscripts/syncfiles +++ b/xCAT/postscripts/syncfiles @@ -7,6 +7,13 @@ # ##################################################### +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..." + logger -t xcat -p local4.info "Cumulus OS is not supported yet, nothing to do..." + exit 0 +fi + # do nothing when UPDATENODE=1 because it is done from the top down if [ -n "$UPDATENODE" ] && [ $UPDATENODE -eq 1 ]; then #echo " Did not sync any files. Use updatenode -F to sync the files."