-Add another URL used by AMM firmware to present wvid parameters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c1798eb341
commit
86124e90bd
@ -1814,6 +1814,9 @@ sub get_kvm_params {
|
||||
my $ba;
|
||||
unless (defined $destip and defined $rbs) { #Try another way
|
||||
$response = $browser->get("http://$mpa/private/remotecontrol.js.php");
|
||||
if ($response->{_rc} == 404) { #In some firmwares, its "shared" instead of private
|
||||
$response = $browser->get("http://$mpa/shared/remotecontrol.js.php");
|
||||
}
|
||||
$html = $response->{_content};
|
||||
foreach (split /\n/,$html) {
|
||||
if (/<param\s+name\s*=\s*"?([^"]*)"?\s+value\s*=\s*"?([^"]*)"?/i) {
|
||||
|
Loading…
Reference in New Issue
Block a user