Dennis Dmitriev | b1a3d84 | 2018-11-25 22:15:58 +0200 | [diff] [blame] | 1 | {#- External network. For proxy and other nodes with endpoints from external network #} |
| 2 | {#- Provides: #} |
| 3 | {#- (linux interface) + address #} |
| 4 | {#- Requires: #} |
| 5 | {#- _param:external_address #} |
| 6 | {#- _param:external_network_netmask #} |
| 7 | # {{ interfaces_role }} |
| 8 | {%- set interface_name = interfaces.keys()[0] %} |
| 9 | {{ interface_name }}: |
| 10 | enabled: true |
| 11 | name: {{ interface_name }} |
| 12 | address: ${_param:_esc}{_param:external_address} |
| 13 | netmask: ${_param:_esc}{_param:external_network_netmask} |
| 14 | proto: static |
| 15 | type: eth |