From 00bdcd15a9cf5275974fd98214f963c1d512faf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Wed, 24 Sep 2025 05:46:52 -0400 Subject: [PATCH] fix cloud-init network config --- aap/playbooks/templates/cloud-init/network-config.j2 | 4 ++-- ansible/templates/cloud-init/network-config.j2 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aap/playbooks/templates/cloud-init/network-config.j2 b/aap/playbooks/templates/cloud-init/network-config.j2 index c766064..7c9bdbb 100644 --- a/aap/playbooks/templates/cloud-init/network-config.j2 +++ b/aap/playbooks/templates/cloud-init/network-config.j2 @@ -1,9 +1,9 @@ version: 2 ethernets: - enp1s0: + demo0: match: macaddress: "{{ libvirt_domain_mac_address }}" - set-name: enp1s0 + set-name: demo0 addresses: - "{{ libvirt_domain_parameters.ipv4_address }}" gateway4: "{{ libvirt_domain_parameters.ipv4_gateway }}" diff --git a/ansible/templates/cloud-init/network-config.j2 b/ansible/templates/cloud-init/network-config.j2 index c766064..7c9bdbb 100644 --- a/ansible/templates/cloud-init/network-config.j2 +++ b/ansible/templates/cloud-init/network-config.j2 @@ -1,9 +1,9 @@ version: 2 ethernets: - enp1s0: + demo0: match: macaddress: "{{ libvirt_domain_mac_address }}" - set-name: enp1s0 + set-name: demo0 addresses: - "{{ libvirt_domain_parameters.ipv4_address }}" gateway4: "{{ libvirt_domain_parameters.ipv4_gateway }}"