Created
June 22, 2019 04:45
-
-
Save indrakaw/b7aa2035bec1926c84895351e0cbbad2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# You have to install "vagrant-vbguest" to get it works | |
# $ vagrant plugin install vagrant-vbguest | |
VAGRANTFILE_API_VERSION = '2' | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "debian/stretch64" | |
config.vm.network "private_network", ip: "192.168.33.230" | |
config.vm.hostname = "webdev" | |
config.vm.provider :virtualbox do |vb| | |
vb.name = "debian stretch64" | |
vb.customize ["modifyvm", :id, "--memory", "768"] | |
end | |
config.vm.synced_folder "source", "/vagrant/source", | |
type: "virtualbox", | |
create: true, | |
id: "vagrant-root", | |
owner: "vagrant", | |
group: "www-data", | |
mount_options: ["dmode=775,fmode=775"] | |
config.vm.provision "shell", path: "bootstrap.sh", privileged: false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment