Alpine LXC containers lose network config at reboot

nxet

Member
Sep 13, 2020
17
3
8
124
Everything else in the filesystem seems to survive the reboot just fine, but the /etc/network/interfaces gets overwritten every time.
What am I doing wrong?
I create the container from the web UI, log into the console from web UI, edit file, reboot, and the config is gone.
This is not container-specific, all containers created with the `alpine-3.12-default_20200918_and64` template have this problem.
Neither `setup-interfaces` nor a full `setup-alpine` help, and I honestly don't know what else I should try.
Thanks in advance for any help.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!