This commit is contained in:
parent
fceada524a
commit
02dffb1a88
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ ip
|
|||
========= ==============
|
||||
interface adresses
|
||||
========= =============={% for interface in ip %}
|
||||
{{ "{:<10}".format(interface["ifname"]) }} {% for ip in interface["addr_info"] %} {{ ip["local"] }}/{{ ip["prefixlen"]}}{% endfor %}
|
||||
{% endfor %}========= ==============
|
||||
{{ "{:<10}".format(interface["ifname"]) }} {% for ip in interface["addr_info"] %} {% if interface["addr_info"].index(ip) != 0 %} {% endif %}{{ ip["local"] }}/{{ ip["prefixlen"]}}
|
||||
{% endfor %}{% endfor %}========= ==============
|
||||
|
||||
routes
|
||||
######
|
||||
|
|
Loading…
Add table
Reference in a new issue