Skip to content

Instantly share code, notes, and snippets.

@anotherjesse
Created September 20, 2012 23:00
Show Gist options
  • Select an option

  • Save anotherjesse/3758851 to your computer and use it in GitHub Desktop.

Select an option

Save anotherjesse/3758851 to your computer and use it in GitHub Desktop.
my nova-network devstack localrc
# Networking - create a local network instead of using eth/wlan
which tunctl || sudo apt-get install uml-utilities
ifconfig tap0 || sudo tunctl -u `whoami`
sudo ifconfig tap0 192.168.42.2 up
sudo iptables -I POSTROUTING -s 10.0.0.0/24 -j MASQUERADE -t nat
SERVICE_HOST=192.168.42.2
HOST_IP=192.168.42.2
FLAT_INTERFACE=tap0
# general settings
IMAGE_URLS=http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img,http://cloud-images.ubuntu.com/quantal/current/quantal-server-cloudimg-amd64-disk1.img
API_RATE_LIMIT=False
# SPEED UP - doesn't fetch anything from net
#OFFLINE=True
# FORCE UPDATE - by default devstack doesn't update git repo's
#RECLONE=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment