~smoser/ubuntu/trusty/maas/lp-1172566

« back to all changes in this revision

Viewing changes to etc/maas/templates/power/sm15k.template

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2014-04-03 13:45:02 UTC
  • mto: This revision was merged to the branch mainline in revision 58.
  • Revision ID: package-import@ubuntu.com-20140403134502-8a6wvuqwyuekufh0
Tags: upstream-1.5+bzr2227
Import upstream version 1.5+bzr2227

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
# Control power using IPMI
20
20
issue_ipmi_command() {
21
21
    ${ipmitool} -I lanplus \
22
 
        -H ${power_address} -U ${power_user}\
23
 
        -P ${power_pass} raw 0x2E 1 0x00 0x7d 0xab \
24
 
        ${power_mode} 0 ${system_id}
 
22
        -H ${power_address} -U ${power_user}\
 
23
        -P ${power_pass} raw 0x2E 1 0x00 0x7d 0xab \
 
24
        ${power_mode} 0 ${system_id}
25
25
}
26
26
 
27
27
# Control power using REST v0.9