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 #!/bin/bash
PROGDIR=`dirname $0` PROGDIR=`dirname $0`
CHROOTCACHE=${CHROOTCACHE:-/root/cache} CHROOTCACHE=${CHROOTCACHE:-/var/cache/devstack}
# Source params # Source params
source ./stackrc source ./stackrc

View file

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

View file

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