diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-02 18:32:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 18:32:47 +0200 |
commit | 1d34bd8cc062573d5c89bc57c1010e131bac75f9 (patch) | |
tree | c5f67c11122a15a6a9136c04c4de49506c899bc3 /data/templates | |
parent | 7ee2f016878ed29120baa66f8e1d372f97402c96 (diff) | |
parent | e5af1f0905991103b12302892e6f0070bbb7b770 (diff) | |
download | vyos-1x-1d34bd8cc062573d5c89bc57c1010e131bac75f9.tar.gz vyos-1x-1d34bd8cc062573d5c89bc57c1010e131bac75f9.zip |
Merge pull request #3229 from c-po/multi-vrf
T6192: allow binding SSH to multiple VRF instances
Diffstat (limited to 'data/templates')
-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 |