Move ramdisk images to CHROOTCACHEDIR
diff --git a/build_pxe_ramdisk.sh b/build_pxe_ramdisk.sh
index 63e2ed4..46eeb05 100755
--- a/build_pxe_ramdisk.sh
+++ b/build_pxe_ramdisk.sh
@@ -97,12 +97,12 @@
# Use this version of devstack?
if [ "$USE_CURRENT_DEVSTACK" = "1" ]; then
- rm -rf $$CHROOTCACHE/natty-stack/$DEST/devstack
+ rm -rf $CHROOTCACHE/natty-stack/$DEST/devstack
cp -pr $CWD $CHROOTCACHE/natty-stack/$DEST/devstack
fi
# build a new image
-BASE=build.$$
+BASE=$CHROOTCACHE/build.$$
IMG=$BASE.img
MNT=$BASE/