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/branches/2.7@14382 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2012-11-21 08:54:16 +00:00
parent 79deb0acf5
commit 5e5710ad4e

View File

@ -1036,7 +1036,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;";