From a00836cfdb7ee7237052124b772cf1b5094c0711 Mon Sep 17 00:00:00 2001 From: Samuel Munilla Date: Fri, 19 Aug 2016 15:51:13 -0400 Subject: a-o-i: Add variant and variant_version to migration Update to also move over variant and variant_version during v1 migration --- utils/src/ooinstall/oo_config.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/utils/src/ooinstall/oo_config.py b/utils/src/ooinstall/oo_config.py index f2990662e..2ce2adc06 100644 --- a/utils/src/ooinstall/oo_config.py +++ b/utils/src/ooinstall/oo_config.py @@ -237,6 +237,12 @@ for information on creating a configuration file or delete {} and re-run the ins if config.get('ansible_ssh_user', False): new_config_data['deployment']['ansible_ssh_user'] = config['ansible_ssh_user'] + if config.get('variant', False): + new_config_data['variant'] = config['variant'] + + if config.get('variant_version', False): + new_config_data['variant_version'] = config['variant_version'] + for host in config['hosts']: host_props = {} host_props['roles'] = [] -- cgit v1.2.3