-after PVE Node reboot the script runs after one minute and checks the installed network interfaces
-the script updates a work interfaces file with the network interface devices it finds
-the script then copies the work interfaces file to /etc/network/interfaces which is backed-up
first
-the script then issues the "ifreload -a" command
-the webgui shows the correct changes that were made as per the /etc/network/interfaces config file
-opening the shell and issuing the "ip a" command shows the prior /etc/network/interfaces configuration
-the only resolve is to restart the networking service to align the output in the shell with the
webgui changes
Question(s):
Should the script be changed to restart the networking service after the "ifreload -a" command?
Shouldn't (according to the documentation) the "ifreload -a" command have updated and loaded the
new configuration displayed in the shell also?
Or, should the interfaces work file be copied as /etc/network/interfaces.new instead?
Does anything else, like firewall rules, need to be restarted as well?
-the script updates a work interfaces file with the network interface devices it finds
-the script then copies the work interfaces file to /etc/network/interfaces which is backed-up
first
-the script then issues the "ifreload -a" command
-the webgui shows the correct changes that were made as per the /etc/network/interfaces config file
-opening the shell and issuing the "ip a" command shows the prior /etc/network/interfaces configuration
-the only resolve is to restart the networking service to align the output in the shell with the
webgui changes
Question(s):
Should the script be changed to restart the networking service after the "ifreload -a" command?
Shouldn't (according to the documentation) the "ifreload -a" command have updated and loaded the
new configuration displayed in the shell also?
Or, should the interfaces work file be copied as /etc/network/interfaces.new instead?
Does anything else, like firewall rules, need to be restarted as well?