blob: a8a366c1ad9eacc09e47f32bac213c343aef9a9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{#
SPDX-FileCopyrightText: 2021 Anuket contributors
SPDX-License-Identifier: Apache-2.0
#}
{% if deployment_type == 'full' %}
version: 1
config:
- type: physical
name: "{{ jumphost.interfaces[idf.net_config[engine.public_network].interface].name }}"
mac_address: "{{ jumphost.interfaces[idf.net_config[engine.public_network].interface].mac_address }}"
subnets:
- type: dhcp
- type: physical
name: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].name }}"
mac_address: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].mac_address }}"
subnets:
- type: static
address: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].address }}"
netmask: "{{ idf.net_config[engine.pxe_network].mask }}"
{% endif %}
|