From 290b60674ce471abe898c4f444e4ed9562456477 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Thu, 27 Aug 2015 16:30:54 -0400 Subject: [PATCH] Fixes vagrant base box to be opnfv Chef removed the centos7 basebox from Atlas. A new opnfv base box was added. This patch includes the modifications necessary to point to that new box. JIRA: APEX-14 Change-Id: I7e74726c692f21583d0d70f9dd7558665dfb5d99 Signed-off-by: Tim Rozet --- foreman/ci/Vagrantfile | 2 +- foreman/ci/deploy.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/foreman/ci/Vagrantfile b/foreman/ci/Vagrantfile index a01da70..5550976 100644 --- a/foreman/ci/Vagrantfile +++ b/foreman/ci/Vagrantfile @@ -12,7 +12,7 @@ Vagrant.configure(2) do |config| # Every Vagrant development environment requires a box. You can search for # boxes at https://atlas.hashicorp.com/search. - config.vm.box = "chef/centos-7.0" + config.vm.box = "opnfv/centos-7.0" # Disable automatic box update checking. If you disable this, then # boxes will only be checked for updates when the user runs diff --git a/foreman/ci/deploy.sh b/foreman/ci/deploy.sh index a05b3de..405e286 100755 --- a/foreman/ci/deploy.sh +++ b/foreman/ci/deploy.sh @@ -387,8 +387,8 @@ install_vagrant() { fi ##add centos 7 box to vagrant - if ! vagrant box list | grep chef/centos-7.0; then - if ! vagrant box add chef/centos-7.0 --provider virtualbox; then + if ! vagrant box list | grep opnfv/centos-7.0; then + if ! vagrant box add opnfv/centos-7.0 --provider virtualbox; then printf '%s\n' 'deploy.sh: Unable to download centos7 box for Vagrant' >&2 exit 1 fi -- 2.16.6