mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +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:
		@@ -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..."
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user