mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	Merge pull request #2240 from bybai/lname
fix statelite persistent dir use short name
This commit is contained in:
		@@ -41,7 +41,7 @@ fi
 | 
			
		||||
 | 
			
		||||
mount -t tmpfs rw $NEWROOT/$RWDIR
 | 
			
		||||
mkdir -p $NEWROOT/$RWDIR/tmpfs
 | 
			
		||||
ME=`hostname`
 | 
			
		||||
ME=`hostname -s`
 | 
			
		||||
if [ ! -z $NODE ]; then
 | 
			
		||||
    ME=$NODE
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
@@ -160,7 +160,7 @@ elif [ -r /rootimg-statelite.gz ]; then
 | 
			
		||||
 | 
			
		||||
  mount -t tmpfs rw $NEWROOT/$RWDIR
 | 
			
		||||
  mkdir -p $NEWROOT/$RWDIR/tmpfs
 | 
			
		||||
  ME=`hostname`
 | 
			
		||||
  ME=`hostname -s`
 | 
			
		||||
  if [ ! -z $NODE ]; then
 | 
			
		||||
      ME=$NODE
 | 
			
		||||
  fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user