fix defect 3146884 odbc setup on Service Node not correct
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2c3c0ebe19
commit
b6049b5f14
@ -1362,7 +1362,7 @@ sub setupODBC
|
||||
exit(1);
|
||||
|
||||
}
|
||||
my $entry = "\n[$instance]\nuid=$instance\npasswd=$passwd";
|
||||
my $entry = "\n[$instance]\nuid=$instance\npwd=$passwd";
|
||||
$cmd = "echo \"$entry\" >> $db2clifile";
|
||||
xCAT::Utils->runcmd($cmd, 0);
|
||||
if ($::RUNCMD_RC != 0)
|
||||
@ -1378,7 +1378,7 @@ sub setupODBC
|
||||
xCAT::MsgUtils->message("I", "$message");
|
||||
}
|
||||
} else { # file does not exist
|
||||
my $entry = "[$instance]\nuid=$instance\npasswd=$passwd";
|
||||
my $entry = "[$instance]\nuid=$instance\npwd=$passwd";
|
||||
$cmd = "echo \"$entry\" > $db2clifile";
|
||||
xCAT::Utils->runcmd($cmd, 0);
|
||||
if ($::RUNCMD_RC != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user