From bd640f231ce3f6a215410256848d32360cfd70d9 Mon Sep 17 00:00:00 2001 From: Aleksandr Mogylchenko Date: Mon, 27 Jul 2015 18:19:36 +0300 Subject: [PATCH] Update Fuel master node build system to 6.6 mirrors with updates. This also requires swapping priorities for Mirantis and upstream repos, to ensure that packages will be actually updated. Related-Bug: #1476245 Change-Id: I7509ecca711737ab7a307dc573bf99c71fa62a21 --- config.mk | 2 +- sandbox.mk | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config.mk b/config.mk index 9c268be14..5bea6a344 100644 --- a/config.mk +++ b/config.mk @@ -67,7 +67,7 @@ MASTER_NETMASK?=255.255.255.0 MASTER_GW?=10.20.0.1 CENTOS_MAJOR:=6 -CENTOS_MINOR:=5 +CENTOS_MINOR:=6 CENTOS_RELEASE:=$(CENTOS_MAJOR).$(CENTOS_MINOR) CENTOS_ARCH:=x86_64 CENTOS_IMAGE_RELEASE:=$(CENTOS_MAJOR)$(CENTOS_MINOR) diff --git a/sandbox.mk b/sandbox.mk index 1d06bb8d1..7e3b6e7c5 100644 --- a/sandbox.mk +++ b/sandbox.mk @@ -4,19 +4,19 @@ name=Mirantis mirror baseurl=file://$(LOCAL_MIRROR_CENTOS_OS_BASEURL) gpgcheck=0 enabled=1 -priority=1 +priority=10 endef define yum_upstream_repo [upstream] name=Upstream mirror baseurl=$(SANDBOX_MIRROR_CENTOS_UPSTREAM_OS_BASEURL) gpgcheck=0 -priority=2 +priority=1 [upstream-updates] name=Upstream mirror baseurl=$(SANDBOX_MIRROR_CENTOS_UPDATES_OS_BASEURL) gpgcheck=0 -priority=2 +priority=1 endef define yum_epel_repo [epel] @@ -49,6 +49,7 @@ mkdir -p $(SANDBOX)/etc/yum.repos.d cat > $(SANDBOX)/etc/yum.conf < $(SANDBOX)/etc/yum.repos.d/base.repo <