This file is indexed.

/etc/maas/templates/power/ucsm.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 Cisco UCS Manager XML API.

{{py: from provisioningserver.utils import escape_py_literal}}
python - << END
from provisioningserver.custom_hardware.ucsm import power_control_ucsm
power_control_ucsm(
    {{escape_py_literal(power_address) | safe}},
    {{escape_py_literal(power_user) | safe}},
    {{escape_py_literal(power_pass) | safe}},
    {{escape_py_literal(uuid) | safe}},
    {{escape_py_literal(power_change) | safe}},
)
END