From b6049b5f14562e89daecea06cf9678b65ab470a3 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 4 Jan 2011 17:17:30 +0000 Subject: [PATCH] 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 --- xCAT-client/bin/db2sqlsetup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-client/bin/db2sqlsetup b/xCAT-client/bin/db2sqlsetup index 909fa4c4e..3cfc52103 100755 --- a/xCAT-client/bin/db2sqlsetup +++ b/xCAT-client/bin/db2sqlsetup @@ -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)