summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-10 19:05:39 +0100
committerChristian Breunig <christian@breunig.cc>2023-02-10 19:05:39 +0100
commitabb45b2dac6d21899b47f792f887c42e757f0a2f (patch)
tree23ecc33e7ca64fbad3c5530261467ec773befab2 /data/templates
parent7000d33d3dd275796cf0d9ac450a3af88168c907 (diff)
downloadvyos-1x-abb45b2dac6d21899b47f792f887c42e757f0a2f.tar.gz
vyos-1x-abb45b2dac6d21899b47f792f887c42e757f0a2f.zip
interfaces: T4995: rename user -> username CLI node for pppoe, wwan and sstp-client
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/pppoe/peer.j22
-rw-r--r--data/templates/sstp-client/peer.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/pppoe/peer.j2 b/data/templates/pppoe/peer.j2
index f433a9b03..5e650fa3b 100644
--- a/data/templates/pppoe/peer.j2
+++ b/data/templates/pppoe/peer.j2
@@ -53,7 +53,7 @@ mtu {{ mtu }}
mru {{ mtu }}
{% if authentication is vyos_defined %}
-{{ 'user "' + authentication.user + '"' if authentication.user is vyos_defined }}
+{{ 'user "' + authentication.username + '"' if authentication.username is vyos_defined }}
{{ 'password "' + authentication.password + '"' if authentication.password is vyos_defined }}
{% endif %}
diff --git a/data/templates/sstp-client/peer.j2 b/data/templates/sstp-client/peer.j2
index 7a0b0e1f7..745a09e14 100644
--- a/data/templates/sstp-client/peer.j2
+++ b/data/templates/sstp-client/peer.j2
@@ -45,7 +45,7 @@ lock
nodeflate
{% if authentication is vyos_defined %}
-{{ 'user "' + authentication.user + '"' if authentication.user is vyos_defined }}
+{{ 'user "' + authentication.username + '"' if authentication.username is vyos_defined }}
{{ 'password "' + authentication.password + '"' if authentication.password is vyos_defined }}
{% endif %}