diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-01 20:40:16 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-02 16:33:59 +0000 |
commit | cc208d74567e44d6cffa4fc9fd58bd9bcf050930 (patch) | |
tree | 78142756fc6b52802ce9600efb3df98d968c869c /data | |
parent | b3fb51cd799d231d16425faa1495bc6b9188d814 (diff) | |
download | vyos-1x-cc208d74567e44d6cffa4fc9fd58bd9bcf050930.tar.gz vyos-1x-cc208d74567e44d6cffa4fc9fd58bd9bcf050930.zip |
ssh: T6192: allow binding to multiple VRF instances
Currently VyOS only supports binding a service to one individual VRF. It might
become handy to have the services (initially it will be VRF, NTP and SNMP) be
bound to multiple VRFs.
Changed VRF from leafNode to multi leafNode with defaultValue: default - which
is the name of the default VRF.
(cherry picked from commit e5af1f0905991103b12302892e6f0070bbb7b770)
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/ssh/override.conf.j2 | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/data/templates/ssh/override.conf.j2 b/data/templates/ssh/override.conf.j2 deleted file mode 100644 index 4454ad1b8..000000000 --- a/data/templates/ssh/override.conf.j2 +++ /dev/null @@ -1,14 +0,0 @@ -{% set vrf_command = 'ip vrf exec ' ~ vrf ~ ' ' if vrf is vyos_defined else '' %} -[Unit] -StartLimitIntervalSec=0 -After=vyos-router.service -ConditionPathExists={{ config_file }} - -[Service] -EnvironmentFile= -ExecStart= -ExecStart={{ vrf_command }}/usr/sbin/sshd -f {{ config_file }} -Restart=always -RestartPreventExitStatus= -RestartSec=10 -RuntimeDirectoryPreserve=yes |