Skip to content

Instantly share code, notes, and snippets.

@ixmatus
Created April 12, 2013 15:05
Show Gist options
  • Save ixmatus/5372691 to your computer and use it in GitHub Desktop.
Save ixmatus/5372691 to your computer and use it in GitHub Desktop.
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