Use xcatiport and opt not to do install monitor if unset

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-06-21 17:27:15 +00:00
parent bc3c169c56
commit 7ab7085122

View File

@ -148,7 +148,10 @@ unless ($tmp) {
die;
}
$port = $tmp->{value};
$sport = $tmp->{value}+1;
my ($tmp) = $sitetab->getAttribs({'key'=>'xcatiport'},'value');
if ($tmp) {
$sport = $tmp->{value};
}
($tmp) = $sitetab->getAttribs({'key'=>'xcatmaxconnections'},'value');
if ($tmp and $tmp->{value}) { $maxsslclients = $tmp->{value}; }
@ -222,6 +225,7 @@ sub daemonize {
my %cmd_handlers;
sub do_installm_service {
unless ($sport) { return; }
#This function servers as a handler for messages from installing nodes
my $socket;
my $installpidfile;