Align license headers with REUSE guidelines
[kuberef.git] / playbooks / roles / jump-vm / templates / network-config.j2
1 {#
2 SPDX-FileCopyrightText: 2021 Anuket contributors
3
4 SPDX-License-Identifier: Apache-2.0
5 #}
6
7 {% if deployment_type == 'full' %}
8 version: 1
9 config:
10   - type: physical
11     name: "{{ jumphost.interfaces[idf.net_config[engine.public_network].interface].name }}"
12     mac_address: "{{ jumphost.interfaces[idf.net_config[engine.public_network].interface].mac_address }}"
13     subnets:
14       - type: dhcp
15   - type: physical
16     name: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].name }}"
17     mac_address: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].mac_address }}"
18     subnets:
19       - type: static
20         address: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].address }}"
21         netmask: "{{ idf.net_config[engine.pxe_network].mask }}"
22 {% endif %}