Add spec support scripts for centos
This commit is contained in:
parent
e7ecfa8109
commit
7be5266e20
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
set -x
|
||||
|
||||
export VAGRANT_SPEC_BOX="${VAGRANT_SPEC_BOX}"
|
||||
vagrant vagrant-spec ${VAGRANT_SPEC_ARGS} /vagrant/test/vagrant-spec/configs/vagrant-spec.config.virtualbox.rb
|
||||
result=$?
|
||||
|
||||
exit $result
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
set -xe
|
||||
|
||||
curl -Lo /etc/yum.repos.d/virtualbox.repo http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
|
||||
yum groupinstall -y "Development Tools"
|
||||
yum install -y kernel-devel
|
||||
yum install -y VirtualBox-${VAGRANT_CENTOS_VIRTUALBOX_VERSION:-5.1}
|
||||
|
||||
pushd /vagrant
|
||||
|
||||
rpm -ivh ./pkg/dist/vagrant_*_x86_64.rpm
|
||||
vagrant plugin install ./vagrant-spec.gem
|
||||
|
||||
popd
|
Loading…
Reference in New Issue