xcatd - export EXTSHM and DB2INSTANCE for db2 use, LL calls, CNM calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b16fd9d944
commit
1ea136fffb
@ -136,9 +136,6 @@ sub process_request {
|
||||
$::SUBREQ = shift;
|
||||
my $ret;
|
||||
|
||||
# ENV variable required by all LL commands
|
||||
$ENV{'EXTSHM'} = 'ON';
|
||||
|
||||
# globals used by all subroutines.
|
||||
$::command = $::request->{command}->[0];
|
||||
$::args = $::request->{arg};
|
||||
|
@ -6,6 +6,9 @@ use Carp qw(cluck confess);
|
||||
BEGIN
|
||||
{
|
||||
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
|
||||
# Required when using DB2 as the xCAT database:
|
||||
$ENV{'DB2INSTANCE'} = 'xcatdb';
|
||||
$ENV{'EXTSHM'} = 'ON';
|
||||
}
|
||||
|
||||
# if AIX - make sure we include perl 5.8.2 in INC path.
|
||||
|
Loading…
Reference in New Issue
Block a user