Move cache dir to /var/cache/devstack

This commit is contained in:
Dean Troyer 2011-10-03 21:16:27 -05:00
parent c0a6739f7e
commit d4a3bac8d5
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash
PROGDIR=`dirname $0`
CHROOTCACHE=${CHROOTCACHE:-/root/cache}
CHROOTCACHE=${CHROOTCACHE:-/var/cache/devstack}
# Source params
source ./stackrc

View file

@ -20,7 +20,7 @@ if [ "$1" = "-k" ]; then
fi
DEST_DIR=${1:-/tmp}/tftpboot
PXEDIR=${PXEDIR:-/root/pxe}
PXEDIR=${PXEDIR:-/var/cache/devstack/pxe}
OPWD=`pwd`
PROGDIR=`dirname $0`

View file

@ -7,7 +7,7 @@ if [ ! "$#" -eq "1" ]; then
fi
PROGDIR=`dirname $0`
CHROOTCACHE=${CHROOTCACHE:-/root/cache}
CHROOTCACHE=${CHROOTCACHE:-/var/cache/devstack}
# Source params
source ./stackrc
@ -103,7 +103,7 @@ fi
# Configure host network for DHCP
mkdir -p $CHROOTCACHE/natty-stack/etc/network
cat > $$CHROOTCACHE/natty-stack/etc/network/interfaces <<EOF
cat > $CHROOTCACHE/natty-stack/etc/network/interfaces <<EOF
auto lo
iface lo inet loopback