summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2015-11-06 11:52:56 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2015-11-06 11:52:56 -0400
commit6955b11fbed1f3d73d814d610b4a6905331406e8 (patch)
tree80edfdd6a1cee39d1665b84de366d1860979f3f4 /utils/src/ooinstall
parent98b69946496d0b214c5bd0d384e1cea0856c4cbb (diff)
downloadopenshift-6955b11fbed1f3d73d814d610b4a6905331406e8.tar.gz
openshift-6955b11fbed1f3d73d814d610b4a6905331406e8.tar.bz2
openshift-6955b11fbed1f3d73d814d610b4a6905331406e8.tar.xz
openshift-6955b11fbed1f3d73d814d610b4a6905331406e8.zip
Write new config to disk after successful upgrade.
Diffstat (limited to 'utils/src/ooinstall')
-rw-r--r--utils/src/ooinstall/cli_installer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index e63f14816..0d65f2053 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -526,6 +526,7 @@ def upgrade(ctx):
click.echo("Errors encountered during upgrade, please check %s." %
oo_cfg.settings['ansible_log_path'])
else:
+ oo_cfg.save_to_disk()
click.echo("Upgrade completed! Rebooting all hosts is recommended.")