I hereby claim:
- I am vishvananda on github.
- I am vish (https://keybase.io/vish) on keybase.
- I have a public key whose fingerprint is F79D 5621 D6B6 EAC6 F633 081E 6B4E B3E1 BCCC 3C0A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
test |
Vagrant::Config.run do |global_config| | |
# Change the user name so nodes don't conflict | |
user = "vish" | |
aptdir = "/home/vishvananda/aptcache/" | |
global_config.vm.define :chef do |config| | |
ip = "192.168.76.100" | |
# path where code is checked out | |
checkout = "/home/vishvananda/openstack-cookbooks" | |
config.vm.box = "base" | |
config.vm.box_url = "http://images.anso.com/vagrant/maverick64.box" |
Vagrant::Config.run do |global_config| | |
aptdir = "#{ENV['HOME']}/aptcache/" | |
checkout = "#{ENV['HOME']}/openstack-cookbooks" | |
global_config.vm.define :chef do |config| | |
ip = "192.168.76.100" | |
# path where code is checked out | |
config.vm.box = "base" | |
config.vm.box_url = "http://images.anso.com/vagrant/maverick64.box" | |
config.vm.network ip | |
config.vm.share_folder("v-apt", "/var/cache/apt", aptdir) |
Vagrant::Config.run do |config| | |
ip = "192.168.76.11" | |
# path where code is checked out | |
checkout = "#{ENV['HOME']}/openstack-cookbooks" | |
config.vm.box = "base" | |
config.vm.box_url = "http://images.ansolabs.com/vagrant/maverick64.box" | |
config.vm.network ip | |
config.vm.provision :chef_solo do |chef| | |
chef.cookbooks_path = "#{checkout}/cookbooks" | |
chef.roles_path = "#{checkout}/roles" |
Vagrant::Config.run do |global_config| | |
aptdir = "#{ENV['HOME']}/aptcache/" | |
checkout = "#{ENV['HOME']}/openstack-cookbooks" | |
global_config.vm.define :chef do |config| | |
ip = "192.168.76.100" | |
# path where code is checked out | |
config.vm.box = "base" | |
config.vm.box_url = "http://images.anso.com/vagrant/maverick64.box" | |
config.vm.network ip | |
config.vm.share_folder("v-apt", "/var/cache/apt", aptdir) |
Vagrant::Config.run do |config| | |
ip = "192.168.76.10" | |
aptdir = "#{ENV['HOME']}/aptcache/" | |
checkout = "#{ENV['HOME']}/openstack-cookbooks" | |
config.vm.box = "base" | |
config.vm.box_url = "http://images.ansolabs.com/vagrant/maverick64.box" | |
config.vm.network(ip, :mac => "080027666010") | |
config.vm.share_folder("v-apt", "/var/cache/apt", aptdir) | |
config.vm.provision :chef_solo do |chef| | |
chef.cookbooks_path = "#{checkout}/cookbooks" |
Vagrant::Config.run do |global_config| | |
aptdir = "#{ENV['HOME']}/aptcache/" | |
checkout = "#{ENV['HOME']}/openstack-cookbooks" | |
ip_prefix = (ENV['IP_PREFIX'] or "192.168.76.") | |
mac_prefix = (ENV['MAC_PREFIX'] or "080027076") | |
global_config.vm.define :chef do |config| | |
suffix = "100" | |
ip = "#{ip_prefix}#{suffix}" | |
config.vm.box = "base" | |
config.vm.box_url = "http://images.anso.com/vagrant/maverick64.box" |
Vagrant::Config.run do |global_config| | |
aptdir = "#{ENV['HOME']}/aptcache/" | |
checkout = "#{ENV['HOME']}/openstack-cookbooks" | |
ip_prefix = (ENV['IP_PREFIX'] or "192.168.76.") | |
mac_prefix = (ENV['MAC_PREFIX'] or "080027076") | |
fixed = (ENV['FIXED'] or "10.0.76.0/24") | |
global_config.vm.define :chef do |config| | |
suffix = "100" | |
ip = "#{ip_prefix}#{suffix}" | |
config.vm.box = "base" |
#!/usr/bin/env bash | |
if [ "$2" == "" ]; then | |
echo "usage: $0 <username> <password> <project=username> <file=novarc>" | |
exit 1 | |
fi | |
USER=$1 | |
PASSWORD=$2 | |
PROJECT=${3:-$USER} | |
FILE=${4:-novarc} |