/usr/lib/python2.7/dist-packages/maasserver/templates/metadataserver/nodecommissionresult.html is in python-django-maas 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 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | {% extends "maasserver/base.html" %}
{% block nav-active-settings %}active{% endblock %}
{% block title %}Commissioning result for node {{ object.node.hostname }}, script {{ object.name }}{% endblock %}
{% block page-title %}Commissioning result for node: {{ object.node.hostname }}{% endblock %}
{% block content %}
<ul class="data-list">
<li class="block size7 first" id="name">
<h4>Output file</h4>
<span>{{ object.name }}</span>
</li>
<li class="block size8" id="node">
<h4>Node</h4>
<span>
<a href="{% url 'node-view' object.node.system_id %}">
{{ object.node.hostname }}
</a>
</span>
</li>
<li class="block size7 first" id="time">
<h4>Result registered at</h4>
<span>{{ object.created }}</span>
</li>
<li class="block size3" id="script-result">
<h4>Script return value</h4>
<span>{{ object.script_result }}</span>
</li>
<li class="block first separate" id="output">
{% if object.data %}
<h2>Output</h2>
<pre>
{{ object.get_data_as_html }}
</pre>
{% endif %}
</li>
</ul>
{% endblock %}
|