Skip to content

Instantly share code, notes, and snippets.

@tango238
Last active December 16, 2015 18:21
Show Gist options
  • Save tango238/5477368 to your computer and use it in GitHub Desktop.
Save tango238/5477368 to your computer and use it in GitHub Desktop.
#!/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
# -*- 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