Thanks I have recreated the issue on an ubuntu 18.04 host.
1 Like
I’ve not had any luck figuring out why the NetworkManager inside CentOS 8 on Ubuntu Bionic doesn’t classify the veth interface as managed. I suspect its something different with how udev is working (or not) inside the container. NetworkManager seems particularly picky about setting up existing interfaces, and I’ve not found a way of just telling it to configure the existing interface without worrying about its state or type.
See also a similar issue related to macvlan interface types in CentOS 8:
It looks like you need to run the HWE kernel on Ubuntu Bionic as that supports passing udev events into containers.
I’ve tested this working using:
apt-get install --install-recommends linux-generic-hwe-18.04
2 Likes
That’s working beautifully for me now. Thanks Tom. Legend.
1 Like