setup default Nodesyncfiledir

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-06-14 16:59:39 +00:00
parent 30a3c6e458
commit 6d94da7278

View File

@ -995,6 +995,7 @@ sub initDB
my $chtabcmds;
my $confdir = "/etc/xcat";
my $syncdir = "/var/xcat/syncfiles";
my $nodesyncdir = "/var/xcat/node/syncfiles";
$chtabcmds = "$::XCATROOT/sbin/chtab key=blademaxp site.value=64;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=domain site.value=$domain;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=fsptimeout site.value=0;";
@ -1024,6 +1025,8 @@ sub initDB
$chtabcmds .= "$::XCATROOT/sbin/chtab key=sharedtftp site.value=1;";
$chtabcmds .=
"$::XCATROOT/sbin/chtab key=SNsyncfiledir site.value=$syncdir;";
$chtabcmds .=
"$::XCATROOT/sbin/chtab key=Nodesyncfiledir site.value=$nodesyncdir;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=tftpdir site.value=$tftpdir;";
$chtabcmds .=
"$::XCATROOT/sbin/chtab key=xcatdport site.value=$xcatport;";