Commit 1fc34c48 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

config: Write ssconf after renaming instance



This fixes a bug where the ssconf_instance_list file was
not updated after an instance rename.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 46f9a948
......@@ -995,6 +995,9 @@ class ConfigWriter:
inst.name,
disk.iv_name))
# Force update of ssconf files
self._config_data.cluster.serial_no += 1
self._config_data.instances[inst.name] = inst
self._WriteConfig()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment