2012-12-13 05:20:12 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -uex
|
|
|
|
|
|
|
|
CFN_TOOLS_ROOT=/opt/aws/bin # Heat hard codes this
|
|
|
|
|
|
|
|
HEAT_API_SOURCE=https://github.com/heat-api/heat-jeos.git
|
|
|
|
|
|
|
|
OS_ROOT=/opt/stack
|
|
|
|
JEOS_ROOT=$OS_ROOT/heat-jeos
|
|
|
|
|
2013-01-28 05:41:54 +00:00
|
|
|
install-packages git-core python-psutil
|
2012-12-13 05:20:12 +00:00
|
|
|
|
|
|
|
mkdir -p $OS_ROOT
|
|
|
|
git clone $HEAT_API_SOURCE $JEOS_ROOT
|
|
|
|
cd $JEOS_ROOT
|
|
|
|
git checkout master
|
|
|
|
|
|
|
|
mkdir -p $CFN_TOOLS_ROOT
|
|
|
|
ln -sf $JEOS_ROOT/heat_jeos/cfntools/* $CFN_TOOLS_ROOT
|
2013-02-11 22:23:02 +00:00
|
|
|
|
|
|
|
# Boto in Ubuntu 12.10 is too old. Newer boto's aren't
|
|
|
|
# supported by heat-api-cfn. Bug ref: http://pad.lv/1122472
|
|
|
|
pip install 'boto==2.5.2'
|