How to add a static route to an LXC container with Ubuntu 18.04, since the network configuration is no longer in the interfaces file
touch /etc/.pve-ignore.interfaces will make PVE not modify the interfaces file and your changes should be kept.No, I would like to make custom routes for the existing interface. And make them persistent after reboot.oh sorry, i misunderstood.
to make custom network interfaces in the container you can make PVE ignore it: http://pve.proxmox.com/pve-docs/pve-admin-guide.html#_guest_operating_system_configuration
liketouch /etc/.pve-ignore.interfaceswill make PVE not modify the interfaces file and your changes should be kept.
be aware that most our ubuntu containers use systemd-networkd to configure networking
I want to do that too. But I can't think of any other way.No, I would like to make custom routes for the existing interface. And make them persistent after reboot. http://pve.proxmox.com/pve-docs/pve-admin-guide.html#_guest_operating_system_configuration escape road 2
We use essential cookies to make this site work, and optional cookies to enhance your experience.