Tool/run: configure power_on/amt and log/amt separately

Fix #3005
This commit is contained in:
Emery Hemingway 2018-10-01 11:50:47 +02:00 committed by Christian Helmuth
parent ae55954919
commit cf7e23f0d6

View File

@ -43,13 +43,13 @@ proc run_log { wait_for_re timeout_value } {
# Check that SOL is correctly configured if wsman is available
if {[have_installed wsman] && $amt_tool=="wsman" } {
puts "Test for working AMT SOL redirection service ..."
set redir_state [exec wsman get http://intel.com/wbem/wscim/1/amt-schema/1/AMT_RedirectionService -h [power_on_amt_host] -P 16992 -u admin -p [power_on_amt_password]]
set redir_state [exec wsman get http://intel.com/wbem/wscim/1/amt-schema/1/AMT_RedirectionService -h [log_amt_host] -P 16992 -u admin -p [log_amt_password]]
set redir_state [regexp -inline {ListenerEnabled.*ListenerEnabled} $redir_state]
if {![regexp {ListenerEnabled>true} $redir_state]} {
puts " Warning: AMT_RedirectionService listener is disabled - serial output will not be available"
puts " Use wsman to enable the listener service, e.g.:"
puts " wsman put http://intel.com/wbem/wscim/1/amt-schema/1/AMT_RedirectionService -h [power_on_amt_host] -P 16992 -u admin -p <your-intel-me-amt-password> -k ListenerEnabled=true"
puts " wsman put http://intel.com/wbem/wscim/1/amt-schema/1/AMT_RedirectionService -h [log_amt_host] -P 16992 -u admin -p <your-intel-me-amt-password> -k ListenerEnabled=true"
puts ""
}
} else {