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:
wanghuaz 2012-10-29 07:42:42 +00:00
parent 241980aa01
commit c58f6e361e

View File

@ -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/ ) {