Please review the fix for network settings screen.
Settings are read from /etc/default/lxc-net if exists, or /etc/default/lxc, lxc-net is having a priority over lxc.
From looking at lxc contents is the same relationship, i.e. lxc-net is can override default settings from lxc.
def get_net_settings() - code reflects that relationship
def push_net_value() - does not
It feels like these 2 functions should be symmetric.
so with the current code network changes are saved in to /etc/default/lxc, those changes are not picked up by lxc, since /etc/default/lxc-net overrides them, as well as the screen does not update with new values after hitting apply for the same reason.
Please review the fix for network settings screen. Settings are read from /etc/default/lxc-net if exists, or /etc/default/lxc, lxc-net is having a priority over lxc. From looking at lxc contents is the same relationship, i.e. lxc-net is can override default settings from lxc.
def get_net_settings() - code reflects that relationship def push_net_value() - does not
It feels like these 2 functions should be symmetric.
so with the current code network changes are saved in to /etc/default/lxc, those changes are not picked up by lxc, since /etc/default/lxc-net overrides them, as well as the screen does not update with new values after hitting apply for the same reason.
Regards, Alex