From be3e25ce00f226fe128d9c090e056e52779a1cc0 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 18 Jun 2013 17:07:27 +0000 Subject: [PATCH] Add support for flexdiscover to work with x222 servers git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/lsslp.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index 883346971..02ac4d566 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -1946,6 +1946,9 @@ sub configure_hosted_elements { my $pass = $passwordmap{$cmm}->{password}; foreach $immdata (values %{$flexchassismap{$uuid}}) { $slot=$immdata->{attributes}->{slot}->[0]; + if (defined $immdata->{attributes}->{'chassis-sub-slot'}) { + $slot .= ":".$immdata->{attributes}->{'chassis-sub-slot'}->[0]; + } if ($node = $nodebymp{$cmm}->{$slot}) { my $addr = $immdata->{peername}; #todo, use sockaddr and remove the 427 port from it instead? if ($addr =~ /^fe80/) { #Link local address requires scope index