From f9a29d41eaafbc68821fbdd110687903ab646d43 Mon Sep 17 00:00:00 2001 From: Samuel Munilla Date: Wed, 6 Apr 2016 14:23:58 -0400 Subject: a-o-i: Support openshift_image_tag Somewhat hacky solution to let users install containerized 3.1. A more flexible version will be forthcoming once we settle tagging issues. --- utils/src/ooinstall/openshift_ansible.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'utils/src/ooinstall') diff --git a/utils/src/ooinstall/openshift_ansible.py b/utils/src/ooinstall/openshift_ansible.py index 28b157e8e..cf2ca51ca 100644 --- a/utils/src/ooinstall/openshift_ansible.py +++ b/utils/src/ooinstall/openshift_ansible.py @@ -130,7 +130,9 @@ def write_inventory_vars(base_inventory, multiple_masters, proxy): if CFG.settings.get('master_routingconfig_subdomain', False): base_inventory.write( "openshift_master_default_subdomain={}\n".format(CFG.settings['master_routingconfig_subdomain'])) - + if CFG.settings.get('variant_version', None) == '3.1': + #base_inventory.write('openshift_image_tag=v{}\n'.format(CFG.settings.get('variant_version'))) + base_inventory.write('openshift_image_tag=v{}\n'.format('3.1.1.6')) def write_host(host, inventory, schedulable=None): -- cgit v1.2.3