| ... | ... |
@@ -11,6 +11,13 @@ if ! grep -q natty /etc/lsb-release; then |
| 11 | 11 |
echo "WARNING: this script has only been tested on natty" |
| 12 | 12 |
fi |
| 13 | 13 |
|
| 14 |
+# Abort if localrc is not set |
|
| 15 |
+if [ ! -e ./localrc ]; then |
|
| 16 |
+ echo "You must have a localrc with ALL necessary passwords defined before proceeding." |
|
| 17 |
+ echo "See stack.sh for required passwords." |
|
| 18 |
+ exit 1 |
|
| 19 |
+fi |
|
| 20 |
+ |
|
| 14 | 21 |
# Source params |
| 15 | 22 |
source ./stackrc |
| 16 | 23 |
|
| ... | ... |
@@ -248,4 +255,4 @@ while [ ! -e "$ROOTFS/$DEST/run.sh.log" ]; do |
| 248 | 248 |
sleep 1 |
| 249 | 249 |
done |
| 250 | 250 |
|
| 251 |
-tail -F $ROOTFS/$DEST/run.sh.log |
|
| 251 |
+tail -F $ROOTFS/$DEST/devstack/stack.sh.*.log |