使用清华源

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial universe

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates universe

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial multiverse

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates multiverse

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security universe 

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security multiverse


解决pip源(http://blog.csdn.net/Tomstrong_369/article/details/50411878)

devstack/tools/install_pip.sh

PIP_GET_PIP_URL=https://coding.net/u/xiaoquqi/p/pip/git/raw/master/contrib/get-pip.py


local.conf

[[local|localrc]]

ADMIN_PASSWORD=secret

DATABASE_PASSWORD=secret

RABBIT_PASSWORD=secret

SERVICE_PASSWORD=secret


# use TryStack git mirror 

GIT_BASE=http://git.trystack.cn 

NOVNC_REPO=http://git.trystack.cn/kanaka/noVNC.git 

SPICE_REPO=http://git.trystack.cn/git/spice/spice-html5.git