add dbloc to output of lsxcatd -d for DB2

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2011-04-14 16:53:58 +00:00
parent 7d414e14e8
commit 19bbcae850

View File

@ -672,10 +672,13 @@ sub lsxcatd
my $instance;
$instance = $parts[1];
my ($db2,$databasename)= split(':',$parts[0]);
my $xcatdbhome = xCAT::Utils->getHomeDir("xcatdb");
$rsp{data}->[0] = "cfgloc=$cfgloc";
$rsp{data}->[1] = "dbengine=$db2";
$rsp{data}->[3] = "dbname=$databasename";
$rsp{data}->[2] = "dbinstance=$instance";
$rsp{data}->[3] = "dbname=$databasename";
$rsp{data}->[4] = "dbloc=$xcatdbhome";
$cb->(\%rsp);
}