/usr/share/bcfg2/Hostbase/repo/hostsappend.tmpl 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 | ##########################################################################
# Hosts on subnet: {{ subnet.0 }}
# total hosts: {{ subnet.1 }}
{% for ip in ips %}{{ ip.0 }} {{ ip.1 }}{% if ip.4 and not ip.3 %} # {{ ip.5 }}{% else %}{% for name in ip.2 %} {{ name }}{% endfor %}{% for cname in ip.3 %} {{ cname }}{% endfor %} # {{ ip.5 }}{% endif %}
{% endfor %}
|