The problem is that although I already have an external dns/dhcp server, MAAS assigns a new ip to the machine during the commissioning and deployment process. After deployment, it finishes with “static” settings in the /netplan/50-cloud-init.yml network configuration file. At this stage, I would like to set “renderer: NetworkManager” and “dhcp4:true” parameters for the related interface, but I have not been successful.
1- Why MAAS is changing the ip address of the machines in a subnet that is not authoritative?
2- How can I set the network configuration I want at the end of the deployment? I wrote a cloud-init script as below but it does not apply it after deployment.
network:
version: 2
renderer: NetworkManager
ethernets:
eno1:
dhcp4: true
Thanks.