2017-02-01 00:45:59 +00:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
#
|
2017-03-28 19:56:09 +00:00
|
|
|
# The fedora/25-cloud-base and debian/jessie64 boxes are also available for
|
2017-02-01 00:45:59 +00:00
|
|
|
# the "virtualbox" provider. Set the VAGRANT_PROVIDER environment variable to
|
|
|
|
# "virtualbox" to use them instead.
|
|
|
|
#
|
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
config.vm.define "fedora" do |c|
|
2017-03-28 19:56:09 +00:00
|
|
|
c.vm.box = "fedora/25-cloud-base"
|
2017-02-01 00:45:59 +00:00
|
|
|
c.vm.synced_folder ".", "/vagrant", type: "rsync",
|
|
|
|
rsync__exclude: "bundles", rsync__args: "-vadz"
|
|
|
|
c.vm.provision "shell", inline: <<-SHELL
|
|
|
|
sudo /vagrant/vagrant/provision.sh
|
|
|
|
SHELL
|
|
|
|
end
|
|
|
|
config.vm.define "debian" do |c|
|
|
|
|
c.vm.box = "debian/jessie64"
|
|
|
|
c.vm.synced_folder ".", "/vagrant", type: "rsync",
|
|
|
|
rsync__exclude: "bundles", rsync__args: "-vadz"
|
|
|
|
c.vm.provision "shell", inline: <<-SHELL
|
|
|
|
sudo /vagrant/vagrant/provision.sh
|
|
|
|
SHELL
|
|
|
|
end
|
|
|
|
end
|