This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- yajl.spec.orig 2010-01-11 17:36:13.000000000 +0000 | |
+++ yajl.spec 2013-10-03 02:37:09.416414315 +0000 | |
@@ -36,6 +36,7 @@ | |
%package devel | |
Summary: Libraries, includes, etc to develop with YAJL | |
+Group: Development/Libraries | |
Requires: %{name} = %{version}-%{release} | |
%description |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup for multi-node system with glance as storage backend | |
echo "gridcentric_use_image_service=true" | sudo tee -a /etc/nova/nova.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function err { echo -e "error.\n$1" && exit 1; } | |
function usage { | |
echo "usage: sudo ./setup.sh <key> [full | no-horizon | compute-only]" | |
echo | |
echo "Required arguments:" | |
echo " <key> Gridcentric repository key" | |
echo | |
echo "Optional arguments:" | |
echo " full (Default) All in one installation" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# How to use: Pass to cloud-init as user data, or run as a script. When | |
# port 80 is open, your cloud is ready. | |
set -e | |
MYIP=`ifconfig eth1 | grep "inet addr" | awk -F: '{print $2}' | awk '{print $1}'` | |
HEADNODE=${1:-$MYIP} |