-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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