Last active
December 16, 2015 18:21
-
-
Save tango238/5477368 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
cd vagrant | |
vagrant destroy | |
rm -f Vagrantfile | |
vagrant init | |
cp Vagrantfile.template Vagrantfile | |
vagrant ssh-config --host india >> ~/.ssh/config | |
vagrant up | |
knife solo prepare india |
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::Config.run do |config| | |
config.vm.box = "centos64_64" | |
config.vm.define :web do |india| | |
india.vm.host_name = "india" | |
india.vm.network :hostonly, "192.168.50.12" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment