SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu 22.04 |
Webmin version | 2.021 |
Virtualmin version | 7.7 |
Related packages | Restore Virtual Server backup |
I had to upgrade a dedicated server running Ubuntu 18.04 to 22.04.
After backing up all the virtual servers to a backup server, did a clean install with the same Virtualmin versions.
When restoring these virtual servers one by one, the NetplanD shared IP4 addresses get messed up with every restore.
Here is the initial network configuration:
It has the same configuration “at boot” and “now”, with the 189 IP as the default.
After restoring a virtual server with the options to use the original IP4 and IP6, the network configuration gets changed to this:
The 189 address gets switch with one of the secondary shared IP4, and the Webmin Dashboard shows a message that it thinks the default IP address got changed.
It also reverses the order of all the IP6 addresses, but that doesn’t seem to bother anything.
Fortunately the network settings “at boot” don’t get changed, so a reboot fixes it.
But after several restored virtual servers the 189 ip completely disappears from the available shared IPs (that too gets fixed by reboot).
Anyhow, Virtualmin seems to mess up the order of IPs in the active configuration.
Until this gets fixed in the module, is there any command to get Netplan to make the “at boot” configuration the active one without rebooting the whole system?