merge trunk, and also make sure localrc exists before running build_lxc.sh
This commit is contained in:
parent
f8dfba1c73
commit
cf145b77e4
@ -11,6 +11,13 @@ if ! grep -q natty /etc/lsb-release; then
|
||||
echo "WARNING: this script has only been tested on natty"
|
||||
fi
|
||||
|
||||
# Abort if localrc is not set
|
||||
if [ ! -e ./localrc ]; then
|
||||
echo "You must have a localrc with ALL necessary passwords defined before proceeding."
|
||||
echo "See stack.sh for required passwords."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Source params
|
||||
source ./stackrc
|
||||
|
||||
@ -248,4 +255,4 @@ while [ ! -e "$ROOTFS/$DEST/run.sh.log" ]; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
tail -F $ROOTFS/$DEST/run.sh.log
|
||||
tail -F $ROOTFS/$DEST/devstack/stack.sh.*.log
|
||||
|
Loading…
Reference in New Issue
Block a user