If the timezone includes a space, the chtab command below will not work. fix it

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14381 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2012-11-21 08:52:09 +00:00
parent f404ee4806
commit bbfe4f1132

View File

@ -1183,7 +1183,7 @@ sub initDB
$chtabcmds .=
"$::XCATROOT/sbin/chtab key=xcatconfdir site.value=$confdir;";
$chtabcmds .=
"$::XCATROOT/sbin/chtab key=timezone site.value=$timezone;";
"$::XCATROOT/sbin/chtab key=timezone site.value=\"$timezone\";";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=useNmapfromMN site.value=no;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=enableASMI site.value=no;";