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>
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
# 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
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
fi
##add centos 7 box to 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
printf '%s\n' 'deploy.sh: Unable to download centos7 box for Vagrant' >&2
exit 1
fi