2011-09-26 13:14:46 -07:00
|
|
|
# compute service
|
2011-11-14 10:55:47 -08:00
|
|
|
NOVA_REPO=https://github.com/openstack/nova.git
|
2011-11-23 10:10:53 -08:00
|
|
|
NOVA_BRANCH=master
|
2011-09-26 13:14:46 -07:00
|
|
|
|
2011-11-01 12:30:55 +01:00
|
|
|
# storage service
|
|
|
|
SWIFT_REPO=https://github.com/openstack/swift.git
|
2011-11-23 10:10:53 -08:00
|
|
|
SWIFT_BRANCH=master
|
2011-11-01 12:30:55 +01:00
|
|
|
|
2011-11-01 19:32:23 +01:00
|
|
|
# swift and keystone integration
|
|
|
|
SWIFT_KEYSTONE_REPO=https://github.com/cloudbuilders/swift-keystone2.git
|
|
|
|
SWIFT_KEYSTONE_BRANCH=master
|
|
|
|
|
2011-09-26 13:14:46 -07:00
|
|
|
# image catalog service
|
2011-11-14 10:55:47 -08:00
|
|
|
GLANCE_REPO=https://github.com/openstack/glance.git
|
2011-11-23 10:10:53 -08:00
|
|
|
GLANCE_BRANCH=master
|
2011-09-26 13:14:46 -07:00
|
|
|
|
|
|
|
# unified auth system (manages accounts/tokens)
|
2012-02-08 23:33:41 +00:00
|
|
|
KEYSTONE_REPO=https://github.com/openstack/keystone.git
|
2012-02-16 16:31:24 -06:00
|
|
|
KEYSTONE_BRANCH=master
|
2011-09-26 13:14:46 -07:00
|
|
|
|
|
|
|
# a websockets/html5 or flash powered VNC console for vm instances
|
2011-10-25 08:52:31 -07:00
|
|
|
NOVNC_REPO=https://github.com/cloudbuilders/noVNC.git
|
2011-11-23 10:10:53 -08:00
|
|
|
NOVNC_BRANCH=master
|
2011-09-26 13:14:46 -07:00
|
|
|
|
|
|
|
# django powered web control panel for openstack
|
2011-10-28 14:00:21 -07:00
|
|
|
HORIZON_REPO=https://github.com/openstack/horizon.git
|
2011-11-23 10:10:53 -08:00
|
|
|
HORIZON_BRANCH=master
|
2011-09-26 13:14:46 -07:00
|
|
|
|
2011-10-28 14:00:21 -07:00
|
|
|
# python client library to nova that horizon (and others) use
|
2011-11-20 09:55:44 -08:00
|
|
|
NOVACLIENT_REPO=https://github.com/openstack/python-novaclient.git
|
2011-09-27 11:25:18 -07:00
|
|
|
NOVACLIENT_BRANCH=master
|
2011-09-26 13:14:46 -07:00
|
|
|
|
2011-12-27 22:22:14 -08:00
|
|
|
# python keystone client library to nova that horizon uses
|
|
|
|
KEYSTONECLIENT_REPO=https://github.com/openstack/python-keystoneclient
|
|
|
|
KEYSTONECLIENT_BRANCH=master
|
|
|
|
|
2011-10-27 18:18:20 -07:00
|
|
|
# quantum service
|
|
|
|
QUANTUM_REPO=https://github.com/openstack/quantum
|
2011-11-23 10:10:53 -08:00
|
|
|
QUANTUM_BRANCH=master
|
2011-10-27 18:18:20 -07:00
|
|
|
|
2012-01-25 17:22:15 -05:00
|
|
|
# quantum client
|
|
|
|
QUANTUM_CLIENT_REPO=https://github.com/openstack/python-quantumclient
|
|
|
|
QUANTUM_CLIENT_BRANCH=master
|
|
|
|
|
2012-01-10 14:43:17 -06:00
|
|
|
# Tempest test suite
|
|
|
|
TEMPEST_REPO=https://github.com/openstack/tempest.git
|
|
|
|
TEMPEST_BRANCH=master
|
2011-11-04 12:13:43 -05:00
|
|
|
|
2012-01-23 11:17:27 -06:00
|
|
|
# melange service
|
|
|
|
MELANGE_REPO=https://github.com/openstack/melange.git
|
|
|
|
MELANGE_BRANCH=master
|
|
|
|
|
|
|
|
# python melange client library
|
|
|
|
MELANGECLIENT_REPO=https://github.com/openstack/python-melangeclient.git
|
|
|
|
MELANGECLIENT_BRANCH=master
|
|
|
|
|
2011-10-14 09:31:09 -07:00
|
|
|
# Specify a comma-separated list of uec images to download and install into glance.
|
2011-12-08 16:22:51 -05:00
|
|
|
# supported urls here are:
|
|
|
|
# * "uec-style" images:
|
|
|
|
# If the file ends in .tar.gz, uncompress the tarball and and select the first
|
|
|
|
# .img file inside it as the image. If present, use "*-vmlinuz*" as the kernel
|
|
|
|
# and "*-initrd*" as the ramdisk
|
|
|
|
# example: http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-amd64.tar.gz
|
|
|
|
# * disk image (*.img,*.img.gz)
|
|
|
|
# if file ends in .img, then it will be uploaded and registered as a to
|
|
|
|
# glance as a disk image. If it ends in .gz, it is uncompressed first.
|
2012-01-23 11:17:27 -06:00
|
|
|
# example:
|
2011-12-08 16:22:51 -05:00
|
|
|
# http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-armel-disk1.img
|
|
|
|
# http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz
|
2011-12-08 16:23:27 -05:00
|
|
|
#IMAGE_URLS="http://smoser.brickies.net/ubuntu/ttylinux-uec/ttylinux-uec-amd64-11.2_2.6.35-15_1.tar.gz" # old ttylinux-uec image
|
|
|
|
#IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img" # cirros full disk image
|
if using lxc, use cirros rootfs image
The cirros 'uec' image contains a kernel, a ramdisk, and a rootfs.
However, the rootfs is empty. cirros copies its ramdisk to it on its first
boot. That means, if you try this with lxc, there is no filesystem for
lxc to boot.
So, in the case of lxc, import the rootfs image, which is a populated
ext3 filesystem, which is what nova lxc expects.
Change-Id: I3ada380c61044a08697b0a964a962b269ea5224c
2011-12-16 10:29:10 -05:00
|
|
|
case "$LIBVIRT_TYPE" in
|
|
|
|
lxc) # the cirros root disk in the uec tarball is empty, so it will not work for lxc
|
|
|
|
IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz";;
|
|
|
|
*) # otherwise, use the uec style image (with kernel, ramdisk, disk)
|
|
|
|
IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz";;
|
|
|
|
esac
|
2011-10-13 23:03:23 -07:00
|
|
|
|
2012-02-06 22:56:37 +00:00
|
|
|
# use stored ec2 env variables
|
|
|
|
if [ -f ./ec2rc ]; then
|
|
|
|
source ./ec2rc
|
|
|
|
fi
|
|
|
|
|
2011-09-28 15:24:57 -07:00
|
|
|
# allow local overrides of env variables
|
|
|
|
if [ -f ./localrc ]; then
|
|
|
|
source ./localrc
|
|
|
|
fi
|