Hi there,
I have a node with multiple interfaces, the first one (eno1) with IP assignment from DHCP and the second one (eno2) with static configuration, both have default gateway.
When I run talm template -e node_ip -n node_ip -t templates/controlplane.yaml -i > node.yaml, I got machine configuration with incorrect interface name, i.e.:
machine:
network:
interfaces:
- interface: eno1eno2
addresses:
- node_eno2_ip
routes:
- network: 0.0.0.0/0
gateway: node_eno1_gateway
Seems they are incorrectly handled in the _helpers.tpl for both generic and cozystack templates.
Hi there,
I have a node with multiple interfaces, the first one (eno1) with IP assignment from DHCP and the second one (eno2) with static configuration, both have default gateway.
When I run
talm template -e node_ip -n node_ip -t templates/controlplane.yaml -i > node.yaml, I got machine configuration with incorrect interface name, i.e.:Seems they are incorrectly handled in the
_helpers.tplfor both generic and cozystack templates.