I am trying to initialise a network card with incus using init. I have tried the following:
incus init images:ubuntu/noble/cloud mycont --config limits.cpu=1 --config limits.memory=1GiB --device root,size=10GiB --device eth0,nictype=bridged,parent=incusbrnic0,name=eth0
But It works with these options as a example:
–device eth0,ipv4.address=192.168.3.10
This syntax didn’t help either:
--device eth0 nic nictype=bridged parent=incusbrnic0
The only solution would be to set up the network bridge using an additional command such as:
incus config device add mycont eth0 nic nictype=bridged parent=incusbrnic0
Is there a solution for teaching ‘incus init’ to correctly apply my network configuration settings?
Unfortunately, I couldn’t find much about it in the documentation.