diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-15 21:09:03 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-15 21:09:03 +0200 |
commit | 0ea1574b922ed30b46717620ce212af7f70ec03f (patch) | |
tree | 12cfbb981e57f518e54069c0aa3cdb0ab6677f5f /data/templates/salt-minion | |
parent | 0b56514eb00864c8d69a02c2ab307f3877623d8a (diff) | |
download | vyos-1x-0ea1574b922ed30b46717620ce212af7f70ec03f.tar.gz vyos-1x-0ea1574b922ed30b46717620ce212af7f70ec03f.zip |
salt-minion: T4364: add support for source-interface definition
Diffstat (limited to 'data/templates/salt-minion')
-rw-r--r-- | data/templates/salt-minion/minion.j2 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/data/templates/salt-minion/minion.j2 b/data/templates/salt-minion/minion.j2 index d9922ebe8..6940c0cde 100644 --- a/data/templates/salt-minion/minion.j2 +++ b/data/templates/salt-minion/minion.j2 @@ -57,5 +57,11 @@ id: {{ id }} # The number of minutes between mine updates. mine_interval: {{ interval }} -verify_master_pubkey_sign: {{ 'True' if master_key is vyos_defined else 'False' }} +{% if source_interface is vyos_defined %} +# The name of the interface to use when establishing the connection to the Master. +source_interface_name = {{ source_interface }} +{% endif %} +# Enables verification of the master-public-signature returned by the master +# in auth-replies. +verify_master_pubkey_sign: {{ 'True' if master_key is vyos_defined else 'False' }} |