-
-
Save fideloper/dab171a2aa646e86b782 to your computer and use it in GitHub Desktop.
Sample Vagrant file. This installs Ubuntu 12.04 (64 bit). The use of NFS in this manner requires your user's password (needs sudo access). This optionally also has my LAMP server provisioning script (PHP 5.5).
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.network :private_network, ip: "192.168.33.10" | |
config.vm.synced_folder ".", "/vagrant", | |
id: "core", | |
:nfs => true, | |
:mount_options => ['nolock,vers=3,udp,noatime'] | |
# Optionally provision PHP | |
# config.vm.provision "shell", path: "https://gist.github.com/fideloper/7074502/raw/install.sh" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Ilyes512 Just tested, and that specific line is giving me error when doing
vagrant up
.