summaryrefslogtreecommitdiff
path: root/data/templates/conserver/conserver.conf.j2
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-09-28 06:42:35 +0200
committerGitHub <noreply@github.com>2022-09-28 06:42:35 +0200
commitfe3ef62a1f3591246b2c19a103f6842cc3f4b6e5 (patch)
treeebd1d94d11ce94cf7bd76eab5539db04dc96c136 /data/templates/conserver/conserver.conf.j2
parent53bd9fe11e449c66656fef9cb72084d5d0800a75 (diff)
parent3930be3b878643034fcfa99d9f428a0d38daec35 (diff)
downloadvyos-1x-fe3ef62a1f3591246b2c19a103f6842cc3f4b6e5.tar.gz
vyos-1x-fe3ef62a1f3591246b2c19a103f6842cc3f4b6e5.zip
Merge pull request #1559 from insertjokehere/console-server-names
conserver: T4717: Support for setting a name for console-server devices
Diffstat (limited to 'data/templates/conserver/conserver.conf.j2')
-rw-r--r--data/templates/conserver/conserver.conf.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/conserver/conserver.conf.j2 b/data/templates/conserver/conserver.conf.j2
index 1823657d7..ffd29389d 100644
--- a/data/templates/conserver/conserver.conf.j2
+++ b/data/templates/conserver/conserver.conf.j2
@@ -25,6 +25,9 @@ console {{ key }} {
baud {{ value.speed }};
parity {{ value.parity }};
options {{ "!" if value.stop_bits == "1" }}cstopb;
+{% if value.alias is vyos_defined %}
+ aliases "{{ value.alias }}";
+{% endif %}
}
{% endfor %}