Skip to content

Instantly share code, notes, and snippets.

@t-cyrill
Created April 22, 2013 05:50
Show Gist options
  • Save t-cyrill/5432653 to your computer and use it in GitHub Desktop.
Save t-cyrill/5432653 to your computer and use it in GitHub Desktop.
Vagrant::Config.run do |config|
config.vm.box = "debian"
config.ssh.port = 1022
config.vm.forward_port 22, 1022
config.vm.forward_port 80, 1080
config.vm.network :hostonly, "192.168.50.11"
config.vm.host_name = "vg001"
config.vm.provision :shell, :path => "setup_user.sh"
config.vm.customize do |vm|
# メモリ1G
config.vm.customize ["modifyvm", :id, "--memory", 1024]
vm.name = "vg001"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment