Commit 31cfc801 authored by Thomas Goirand's avatar Thomas Goirand

Also display port in the machine-console command.

parent 19f1738b
......@@ -2887,7 +2887,7 @@ function api_actions($con,$conf){
return $json;
}
$machine = mysqli_fetch_array($r);
$cmd = "ipmitool -I lanplus -H " . $machine["ipmi_addr"] ." -U " . $machine["ipmi_username"] ." -P " . $machine["ipmi_password"] . " sol activate";
$cmd = "ipmitool -I lanplus -H " . $machine["ipmi_addr"] . " -p " . $machine["ipmi_port"] . " -U " . $machine["ipmi_username"] ." -P " . $machine["ipmi_password"] . " sol activate";
$json["message"] .= "\n$cmd";
return $json;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment