fix creation of cfgloc file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ccddc9616a
commit
6c3745edff
@ -1601,7 +1601,7 @@ sub createcfgloc
|
||||
}
|
||||
my $mysqlentry =
|
||||
"mysql:dbname=xcatdb;host=$::MN|xcatadmin|$::adminpassword";
|
||||
$cmd = "echo \"$mysqlentry\" >> $cfglocmysql";
|
||||
$cmd = "echo \"$mysqlentry\" > $cfglocmysql";
|
||||
xCAT::Utils->runcmd($cmd, 0);
|
||||
if ($::RUNCMD_RC != 0)
|
||||
{
|
||||
|
@ -840,7 +840,7 @@ sub createcfgloc
|
||||
}
|
||||
}
|
||||
my $pgentry = "Pg:dbname=xcatdb;host=$::MN|xcatadm|$::adminpassword";
|
||||
$cmd = "echo \"$pgentry\" >> $cfgloc";
|
||||
$cmd = "echo \"$pgentry\" > $cfgloc";
|
||||
xCAT::Utils->runcmd($cmd, 0);
|
||||
if ($::RUNCMD_RC != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user