From 11b6e31c55145d3cb4c4928d4eda567ad9e09903 Mon Sep 17 00:00:00 2001 From: Aleksandr Didenko Date: Fri, 1 Jul 2016 18:10:29 +0200 Subject: [PATCH] Fix mcp.conf for prebuilt packages --- ccp/ccp-build.sh | 5 ++++- playbooks/ccp-build.yaml | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ccp/ccp-build.sh b/ccp/ccp-build.sh index f3149e213..0678ed9e2 100755 --- a/ccp/ccp-build.sh +++ b/ccp/ccp-build.sh @@ -26,9 +26,12 @@ create_mirantis_mcp_conf() { push = False [registry] -address = "registry01-bud.ng.mirantis.net:5800" +address = "registry01-bud.ng.mirantis.net" insecure = True +[images] +namespace = "nextgen" + [kubernetes] environment = "openstack" diff --git a/playbooks/ccp-build.yaml b/playbooks/ccp-build.yaml index bf660a79e..6b1c05c07 100644 --- a/playbooks/ccp-build.yaml +++ b/playbooks/ccp-build.yaml @@ -1,3 +1,10 @@ +- hosts: all + tasks: + - lineinfile: + dest: /etc/hosts + regexp: 'registry01-bud.ng.mirantis.net' + line: '172.16.180.121 registry01-bud.ng.mirantis.net' + - hosts: kube-master pre_tasks: - name: Rsync CCP repos