Skip to content

Instantly share code, notes, and snippets.

@a-am
Last active August 29, 2015 14:07
Show Gist options
  • Save a-am/5331f2ea363e09c40797 to your computer and use it in GitHub Desktop.
Save a-am/5331f2ea363e09c40797 to your computer and use it in GitHub Desktop.
Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "parallels/ubuntu-12.04"
config.vm.network :private_network, ip: "192.168.50.4"
config.vm.provision :shell, :path => "install.sh"
config.vm.synced_folder ".", "/var/www"
config.vm.provider "parallels" do |v|
v.update_guest_tools = true
v.name = "LAMP"
v.memory = 1024
v.cpus = 2
end
end
@a-am
Copy link
Author

a-am commented Oct 17, 2014

NOTE TO SELF: first param in config.vm.synced_folder is for host folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment