A.6. Including Power Actions in Templates
This example shows how to set up a job template for performing power actions, such as reboot. This procedure prevents Satellite from interpreting the disconnect exception upon reboot as an error, and consequently, remote execution of the job works correctly.
Create a new template as described in 「Setting up Job Templates」, and specify the following string in the template editor:
<%= render_template("Power Action - SSH Default", :action => "restart") %>