Fixes vagrant base box to be opnfv 46/1346/1
authorTim Rozet <trozet@redhat.com>
Thu, 27 Aug 2015 20:30:54 +0000 (16:30 -0400)
committerTim Rozet <trozet@redhat.com>
Thu, 27 Aug 2015 20:30:54 +0000 (16:30 -0400)
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 <trozet@redhat.com>
foreman/ci/Vagrantfile
foreman/ci/deploy.sh

index a01da70..5550976 100644 (file)
@@ -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
index a05b3de..405e286 100755 (executable)
@@ -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