Skip to content

Instantly share code, notes, and snippets.

@6ewis
Created September 1, 2014 00:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 6ewis/0d55558e8e9039c12106 to your computer and use it in GitHub Desktop.
Save 6ewis/0d55558e8e9039c12106 to your computer and use it in GitHub Desktop.
I initially had set it up with the vagrantfile v1, i thought that changing to v2 would fix my issue.
Vagrant.configure("1") do |config|
config.vm.customize ["modifyvm", :id, "--name", "app", "--memory", "512"]
config.vm.box = "lucid64_with_ruby193"
config.vm.host_name = "app"
config.vm.forward_port 2222, 22, :auto => true
config.vm.network :hostonly, "33.33.13.37"
config.vm.share_folder "puppet", "/etc/puppet", "../massiveapp_ops"
end
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "lucid64_with_ruby193"
config.vm.network :forwarded_port, guest: 22, host: 2222, id: "ssh"
config.vm.network :private_network, ip: "33.33.13.37"
config.vm.synced_folder "../massiveapp_ops", "/etc/puppet"
config.vm.hostname = "app"
config.vm.provider :virtualbox do |vb|
# Don't boot with headless mode
vb.gui = true
# Use VBoxManage to customize the VM. For example to change memory:
vb.customize ["modifyvm", :id, "--name", "app", "--memory", "512"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment