Skip to content

Instantly share code, notes, and snippets.

@SupermanScott
Created October 26, 2012 20:59
Show Gist options
  • Save SupermanScott/3961451 to your computer and use it in GitHub Desktop.
Save SupermanScott/3961451 to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
# config.vm.define :web do |web_config|
# web_config.vm.box = 'telly-base'
# web_config.vm.provision :shell, :path => "provisioners/web.sh"
# web_config.vm.forward_port 80, 6060
# web_config.vm.network :hostonly, "254.168.1.10"
# end
config.vm.define :api do |api_config|
api_config.vm.box = 'telly-base' #http://dl.dropbox.com/u/7225008/Vagrant/CentOS-6.3-x86_64-minimal.box
#api_config.vm.provision :shell, :path => "provisioners/api.sh"
api_config.vm.share_folder("v-root", "/vagrant", ".", :nfs => true)
api_config.vm.forward_port 80, 6061
api_config.vm.network :hostonly, "254.168.1.11"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment