add Default interface parameter
This commit is contained in:
parent
46d51ac70c
commit
215a0df6a7
@ -24,3 +24,4 @@ nomad_host_networks:
|
||||
nomad_allow_privileged: False
|
||||
nomad_plugins_podman: False
|
||||
nomad_docker_allow_caps: []
|
||||
nomad_client_network_interface:
|
||||
|
@ -9,6 +9,9 @@ enabled = {{ nomad_server |lower }}
|
||||
|
||||
client {
|
||||
enabled = true
|
||||
{% if nomad_client_network_interface %}
|
||||
network_interface = "{{ nomad_client_network_interface }}"
|
||||
{% endif %}
|
||||
{% for nomad_host_volume in nomad_host_volumes %}
|
||||
host_volume "{{ nomad_host_volume['name'] }}" {
|
||||
path = "{{ nomad_host_volume['path'] }}"
|
||||
|
Loading…
Reference in New Issue
Block a user