removed the spaces in kit.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -841,6 +841,10 @@ sub addkit
 | 
			
		||||
                ($key,$value) = split /=/, $line;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            # Remove spaces in each lines.
 | 
			
		||||
            $key =~s/^\s+|\s+$//g;
 | 
			
		||||
            $value =~s/^\s+|\s+$//g;
 | 
			
		||||
 | 
			
		||||
            # Add each attribute to different hash.
 | 
			
		||||
            if ( $sec =~ /KIT$/) {
 | 
			
		||||
                if ( $key =~ /kitname/ ) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user