summaryrefslogtreecommitdiffstats
path: root/utils/src
diff options
context:
space:
mode:
authorSamuel Munilla <smunilla@redhat.com>2016-04-06 14:23:58 -0400
committerSamuel Munilla <smunilla@redhat.com>2016-04-08 14:49:03 -0400
commitf9a29d41eaafbc68821fbdd110687903ab646d43 (patch)
treea707fc53925ce6029235dd15169f1e645ffc30f5 /utils/src
parent188faeaf02e4081494571f21a2e224510b944e4d (diff)
downloadopenshift-f9a29d41eaafbc68821fbdd110687903ab646d43.tar.gz
openshift-f9a29d41eaafbc68821fbdd110687903ab646d43.tar.bz2
openshift-f9a29d41eaafbc68821fbdd110687903ab646d43.tar.xz
openshift-f9a29d41eaafbc68821fbdd110687903ab646d43.zip
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.
Diffstat (limited to 'utils/src')
-rw-r--r--utils/src/ooinstall/openshift_ansible.py4
1 files changed, 3 insertions, 1 deletions
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):