Add support for deploying to Equinix Metal bare-metal servers
[kuberef.git] / playbooks / roles / jump-vm / templates / network-config.j2
1 {% if deployment_type == 'full' %}
2 version: 1
3 config:
4   - type: physical
5     name: "{{ jumphost.interfaces[idf.net_config[engine.public_network].interface].name }}"
6     mac_address: "{{ jumphost.interfaces[idf.net_config[engine.public_network].interface].mac_address }}"
7     subnets:
8       - type: dhcp
9   - type: physical
10     name: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].name }}"
11     mac_address: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].mac_address }}"
12     subnets:
13       - type: static
14         address: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].address }}"
15         netmask: "{{ idf.net_config[engine.pxe_network].mask }}"
16 {% endif %}