2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-11 14:00:17 +00:00

fixed hardcoded admin id

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav
2012-05-23 13:57:15 +00:00
parent 33755d548f
commit d970f0b2a7

View File

@@ -1551,7 +1551,7 @@ sub setupODBC
if ($::RUNCMD_RC != 0) # then xcat entry not there
{
my $entry =
"[xCATDB]\nSERVER =$server\nDATABASE = xcatdb\nUSER = xcatadmin\nPASSWORD = $passwd";
"[xCATDB]\nSERVER =$server\nDATABASE = xcatdb\nUSER = $adminid\nPASSWORD = $passwd";
$cmd = "echo \"$entry\" >> $rootodbcfile";
# secure passwd in verbose mode
my $tmpv = $::VERBOSE;