summaryrefslogtreecommitdiff
path: root/data/templates/salt-minion
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-15 21:09:03 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-15 21:09:03 +0200
commit0ea1574b922ed30b46717620ce212af7f70ec03f (patch)
tree12cfbb981e57f518e54069c0aa3cdb0ab6677f5f /data/templates/salt-minion
parent0b56514eb00864c8d69a02c2ab307f3877623d8a (diff)
downloadvyos-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.j28
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' }}