diff --git a/Vagrantfile b/Vagrantfile index e5b2ed070..665559c53 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -13,7 +13,9 @@ 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 = "centos/7" + config.vm.box = "bento/centos-7.1" + config.vm.synced_folder ".", "/home/vagrant/sync", type: 'virtualbox' + # Disable automatic box update checking. If you disable this, then # boxes will only be checked for updates when the user runs diff --git a/provision.sh b/provision.sh index 18dbd4d99..0907cc5ac 100644 --- a/provision.sh +++ b/provision.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -sudo yum install -y curl vim git java-1.7.0-openjdk-devel epel-release nodejs +sudo yum install -y curl vim git java-1.7.0-openjdk-devel epel-release nodejs yum-utils gcc bzip2 kernel-devel dkms su - vagrant -c 'gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3' su - vagrant -c 'curl -sSL https://get.rvm.io | bash -s stable'