diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-08-24 14:37:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-24 14:37:50 -0400 |
commit | 9d9981755bdf393e36d2a5d04eba01ded20c9245 (patch) | |
tree | 057777b807a27248275e07e6cec21f6b9286a0ab /utils/src | |
parent | 1485080974da1001635b7e8e3c95ac34eeb59631 (diff) | |
parent | a00836cfdb7ee7237052124b772cf1b5094c0711 (diff) | |
download | openshift-9d9981755bdf393e36d2a5d04eba01ded20c9245.tar.gz openshift-9d9981755bdf393e36d2a5d04eba01ded20c9245.tar.bz2 openshift-9d9981755bdf393e36d2a5d04eba01ded20c9245.tar.xz openshift-9d9981755bdf393e36d2a5d04eba01ded20c9245.zip |
Merge pull request #2350 from smunilla/BZ1358951
a-o-i: Add variant and variant_version to migration
Diffstat (limited to 'utils/src')
-rw-r--r-- | utils/src/ooinstall/oo_config.py | 6 |
1 files changed, 6 insertions, 0 deletions
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'] = [] |