Symbiosis: `symbiosis-configure-ips` doesn't remove IPs it added once they are removed from /srv/*/config/ip
Imported from https://www.github.com/BytemarkHosting/symbiosis/issues/59
If an IP has been added to a machine via /srv/*/config/ip
, then if removed, it won't be removed from the configuration until next reboot when it won't be re-added.
This is likely as it can't be determined that Symbiosis added the IP, so we should probably either:
- Make it clear in the docs that removing an IP will need a reboot or manual change via
ip
. - Automatically remove any IPs not set somewhere in
/srv/*/config/ip
when running symbiosis-configure-ips. - Provide a
--force
switch (like the other Symbiosis apps) to make the config match what symbiosis-configure-ips is trying to do.