The issue here is that after composing the VM, we do a normal commissioning of the VM. That will autodetect the interface configuration and reset them to the default configuration, which is auto assign.
Given that we configure the interfaces fully on compose, we can probably get away with setting retain_network_configuration to True.
Or we could store the composed network configuration and use that when configuring networking after commissioning.
The issue here is that after composing the VM, we do a normal commissioning of the VM. That will autodetect the interface configuration and reset them to the default configuration, which is auto assign.
Given that we configure the interfaces fully on compose, we can probably get away with setting retain_ network_ configuration to True.
Or we could store the composed network configuration and use that when configuring networking after commissioning.