You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find that the pxeboot command works if the target machine is in "standby", but fails if the machine is in state "off".
I offer the following explanation: the pxeboot command of amtctrl sends two wsman commands to the target machine, first a boot config setting of "PXE", followed by a power state change request of "reboot". I suspect it is not valid to send a "reboot" to a machine that is off.
With the old amttool program, I could branch to handle either state correctly (after initially querying to get power state).
I find that the pxeboot command works if the target machine is in "standby", but fails if the machine is in state "off".
I offer the following explanation: the pxeboot command of amtctrl sends two wsman commands to the target machine, first a boot config setting of "PXE", followed by a power state change request of "reboot". I suspect it is not valid to send a "reboot" to a machine that is off.
With the old amttool program, I could branch to handle either state correctly (after initially querying to get power state).
amtctrl provides pxe-reboot capability, but not pxe-boot.
Below is the (unhandled) error message returned when the target machine was in state "off":
The return value of 2 is an error code.
(reference: http://www.dmtf.org/sites/default/files/standards/documents/DSP1027_2.0.1.pdf)
The text was updated successfully, but these errors were encountered: