Move cache dir to /var/cache/devstack

main
Dean Troyer 13 years ago
parent c0a6739f7e
commit d4a3bac8d5

@ -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

@ -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`

@ -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

Loading…
Cancel
Save