parent
3bf3d65ecc
commit
28bbaf97b0
7 changed files with 57 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
|||
{{ "=" * (host|length) }}
|
||||
{{ host }}
|
||||
{{ "=" * (host|length) }}
|
||||
{{ "=" * (hostname|length) }}
|
||||
{{ hostname.replace("\n", "") }}
|
||||
{{ "=" * (hostname|length) }}
|
||||
|
||||
|
|
12
template/debian.rst.j2
Normal file
12
template/debian.rst.j2
Normal file
|
@ -0,0 +1,12 @@
|
|||
{% include "base.rst.j2" %}
|
||||
network
|
||||
-------
|
||||
|
||||
ip
|
||||
##
|
||||
|
||||
========= ==============
|
||||
interface adresses
|
||||
========= =============={% for interface in ip %}
|
||||
{{ "{:<10}".format(interface["ifname"]) }} {% for ip in interface["addr_info"] %} {{ ip["local"] }}/{{ ip["prefixlen"]}}{% endfor %}
|
||||
{% endfor %}========= ==============
|
|
@ -1,3 +1,10 @@
|
|||
{% include "base.rst.j2" %}
|
||||
services
|
||||
--------
|
||||
|
||||
network
|
||||
=======
|
||||
|
||||
========= ==========
|
||||
interface ip
|
||||
========= =========={% for interface in ip %}
|
||||
{{ "{:<10}".format(interface.replace("\n","")) }} {% for addr in ip[interface] %} {{ addr.replace("\n","") }}{% endfor %}{% endfor %}
|
||||
========= ==========
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue