netplan merge wildcard section with exact ifaces
We have such a configuration:
network:
version: 2
renderer: networkd
ethernets:
zz-all-en:
match:
name: "en*"
dhcp-
ens192:
match:
macaddress: "00:50:56:9e:16:8a"
dhcp4: true
set-name: "ens192"
Interface ens192 matches name pattern "en*" but rule dhcp-identifier: "mac" is not applied to this iface - after server reboot DHCP register lease by UID (not MAC address). I want to use a common section like zz-all-en in my packer template and at the same time exact interface sections like ens192 (they are added by terraform for exact VM). How should I write such common section?
OS: ubuntu 22.04 LTS cloud-init --version 23.3.3-
I can update cloud-init to 24.1.1
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: