Hey all,
So, I know you configure the network interfaces for new containers in the web interface (or by editing the corresponding config file in /etc/pve/lxc) but how does it work when you actually power up the container?
The reason I ask is, I have a bunch of Ubuntu 14.04 based containers that are going EOL. I am considering in-place upgrading them to 18.04, but will the fact that 18.04 uses netplan instead of ifupdown cause problems?
I'd imagine that when you create a new container, something, somewhere is configured such that LXC knows how to tell the OS in the container what IP to to configure itself with, by - for instance - populating /etc/network/interfaces, if on ifupdown.
If I then do an in-place upgrade using ubuntu's "do-release-upgrade" tool, it will use the information in /etc/network/interfaces to create an /etc/netplan file, so it should continue to work after th eupgrade. The question is, what happens if I ever try to change IP settings from the web interface (or by editing LXC config files)? I foresee an issue where the container OS has now moved on, and is happily using /etc/netplan, but LXC is making changes to its /etc/network/interfaces file having no effect.
Is this what happens? Or does LXC work in a completely different way making the distinctions between the container OS's ifupdown or netplan configuration moot?
Much obliged
--Matt
So, I know you configure the network interfaces for new containers in the web interface (or by editing the corresponding config file in /etc/pve/lxc) but how does it work when you actually power up the container?
The reason I ask is, I have a bunch of Ubuntu 14.04 based containers that are going EOL. I am considering in-place upgrading them to 18.04, but will the fact that 18.04 uses netplan instead of ifupdown cause problems?
I'd imagine that when you create a new container, something, somewhere is configured such that LXC knows how to tell the OS in the container what IP to to configure itself with, by - for instance - populating /etc/network/interfaces, if on ifupdown.
If I then do an in-place upgrade using ubuntu's "do-release-upgrade" tool, it will use the information in /etc/network/interfaces to create an /etc/netplan file, so it should continue to work after th eupgrade. The question is, what happens if I ever try to change IP settings from the web interface (or by editing LXC config files)? I foresee an issue where the container OS has now moved on, and is happily using /etc/netplan, but LXC is making changes to its /etc/network/interfaces file having no effect.
Is this what happens? Or does LXC work in a completely different way making the distinctions between the container OS's ifupdown or netplan configuration moot?
Much obliged
--Matt