This file is indexed.

/etc/maas/templates/power/mscm.template is in maas-cluster-controller 1.5.4+bzr2294-0ubuntu1.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# -*- mode: shell-script -*-
#
# Control a system via Moonshot HP iLO Chassis Manager (MSCM).

{{py: from provisioningserver.utils import escape_py_literal}}
python - << END
from provisioningserver.drivers.hardware.mscm import power_control_mscm
power_control_mscm(
    {{escape_py_literal(power_address) | safe}},
    {{escape_py_literal(power_user) | safe}},
    {{escape_py_literal(power_pass) | safe}},
    {{escape_py_literal(node_id) | safe}},
    {{escape_py_literal(power_change) | safe}},
)
END