/usr/share/bcfg2/Hostbase/templates/remove.html is in bcfg2-server 1.2.2-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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | {% extends "base.html" %}
{% block pagebanner %}
<div class="header">
<h2>Are you sure you want to remove {{ host.hostname }}?</h2>
</div>
<br/>
{% endblock %}
{% block sidebar %}
{% include "navbar.tmpl" %}
<ul class="sidebar">
<li><a href="dns/" class="sidebar">detailed dns info</a></li>
<li><a href="edit/" class="sidebar">edit host info</a></li>
<li><a href="dns/edit/" class="sidebar">edit dns info</a></li>
</ul>
{% include "logout.tmpl" %}
{% endblock %}
{% block content %}
<table border="0" width="100%">
<colgroup>
<col width="150">
<col width="*">
<tr> <td> <b>hostname</b></td>
<td> {{ host.hostname }}</td></tr>
<tr> <td> <b>whatami</b></td>
<td> {{ host.whatami }}</td></tr>
<tr> <td> <b>netgroup</b></td>
<td> {{ host.netgroup }}</td></tr>
<tr> <td> <b>class</b></td>
<td> {{ host.security_class }}</td></tr>
<tr> <td> <b>support</b></td>
<td> {{ host.support }}</td></tr>
<tr> <td> <b>csi</b></td>
<td> {{ host.csi }}</td></tr>
<tr> <td> <b>printq</b></td>
<td> {{ host.printq }}</td></tr>
<tr> <td> <b>dhcp</b></td>
{% if host.dhcp %}
<td> y </td></tr>
{% else %}
<td> n </td></tr>
{% endif %}
<tr> <td> <b>outbound_smtp</b></td>
{% if host.outbound_smtp %}
<td> y </td></tr>
{% else %}
<td> n </td></tr>
{% endif %}
<tr> <td> <b>primary_user</b></td>
<td> {{ host.primary_user }}</td></tr>
<tr> <td> <b>administrator</b></td>
<td> {{ host.administrator }}</td></tr>
<tr> <td> <b>location</b></td>
<td> {{ host.location }}</td></tr>
<tr> <td> <b>expiration_date</b></td>
<td> {{ host.expiration_date }}</td></tr>
{% for interface in interfaces %}
<tr> <td><br><b>Interface</b></td>
{% ifnotequal interface.0.hdwr_type 'no' %}
<td><br>{{ interface.0.hdwr_type }}</td></tr>
{% endifnotequal %}
<tr> <td> <b>mac_addr</b></td>
<td> {{ interface.0.mac_addr }}</b></td></tr>
{% for ip in interface.1 %}
<tr> <td> <b>ip_addr</b></td>
<td> {{ ip.ip_addr }}</td></tr>
{% endfor %}
{% endfor %}
<tr> <td valign="top"> <b>comments</b></td>
<td>
{{ host.comments|linebreaksbr }}<br>
</td></tr>
</table>
<a style="font-size:75%" href="/hostbase/{{ host.id }}/dns/">see detailed DNS information for this host</a>
<br><br>
this host is {{ host.status }}<br>
last update on {{ host.last }}<br>
<form name="input" action="remove.html?sub=true" method="post">
<input type="submit" value="remove">
<input type="reset" value="cancel" onclick="history.back()">
</form>
{% endblock %}
|