Code intelligent pour print la version du switch
This commit is contained in:
parent
004f9c998b
commit
1aeb14ddc6
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
; {{ switch.model.reference }}A Configuration Editor; Created on release #{{ switch.model.firmware }}
|
||||
; {%- if switch.model.reference[-1]=='A' %} {{ switch.model.reference }}{%- else %} {{ switch.model.reference }}A{%- endif %} Configuration Editor; Created on release {%- if switch.model.firmware[0]=='#' %} {{ switch.model.firmware }}{%- else %} #{{ switch.model.firmware }}{%- endif %}
|
||||
|
||||
hostname "{{ switch.short_name }}"
|
||||
; Generated on {{ date_gen }} by re2o
|
||||
|
|
Loading…
Reference in a new issue