From 7fa561371a7b7a77e34df652af0c88cb13ecd48f Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Sun, 30 Oct 2011 18:43:54 -0700 Subject: [PATCH] fix sourcing --- tools/build_libvirt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/build_libvirt.sh b/tools/build_libvirt.sh index 2a1bc80..8fb45d1 100755 --- a/tools/build_libvirt.sh +++ b/tools/build_libvirt.sh @@ -35,13 +35,14 @@ if [ ! -e $TOP_DIR/localrc ]; then exit 1 fi +cd $TOP_DIR + # Source params source ./stackrc # Configure the root password of the vm to be the same as ``ADMIN_PASSWORD`` ROOT_PASSWORD=${ADMIN_PASSWORD:-password} - # Base image (natty by default) DIST_NAME=${DIST_NAME:-natty} IMAGE_FNAME=$DIST_NAME.raw