Skip to content

Instantly share code, notes, and snippets.

@ixmatus ixmatus/gist:5372691
Created Apr 12, 2013

Embed
What would you like to do?
alfred vagrant
# -*- mode: ruby -*-
Vagrant::Config.run do |config|
config.vm.box = "quantal_uwsgi-py3k-amd64"
config.vm.box_url = "https://secure.whooshtraffic.com/static/downloads/quantal_uwsgi-py3k-amd64.box"
config.vm.host_name = "alfred"
config.vm.customize ["modifyvm", :id, "--memory", "512"]
config.vm.customize ["modifyvm", :id, "--cpus", "1"]
config.vm.forward_port 8080, 8080
# Shared folders
hosthome = "#{ENV['HOME']}/"
pwd = File.expand_path(File.dirname(__FILE__))
config.vm.share_folder("v-alfred", "/alfred", ".", :nfs => true)
config.vm.share_folder("v-hosthome", "/home/vagrant/.hosthome", hosthome)
# Host-only network required to use NFS shared folders
config.vm.network :hostonly, "2.3.4.5"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.