From d4a3bac8d5bbb9e54a4279f7fa74669c7fed97d0 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Mon, 3 Oct 2011 21:16:27 -0500 Subject: [PATCH] Move cache dir to /var/cache/devstack --- build_nfs.sh | 2 +- build_pxe_boot.sh | 2 +- build_pxe_ramdisk.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build_nfs.sh b/build_nfs.sh index 185d0ad..651bae2 100755 --- a/build_nfs.sh +++ b/build_nfs.sh @@ -1,7 +1,7 @@ #!/bin/bash PROGDIR=`dirname $0` -CHROOTCACHE=${CHROOTCACHE:-/root/cache} +CHROOTCACHE=${CHROOTCACHE:-/var/cache/devstack} # Source params source ./stackrc diff --git a/build_pxe_boot.sh b/build_pxe_boot.sh index 4f59ed6..4feb14d 100755 --- a/build_pxe_boot.sh +++ b/build_pxe_boot.sh @@ -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` diff --git a/build_pxe_ramdisk.sh b/build_pxe_ramdisk.sh index 51220ab..a01656b 100755 --- a/build_pxe_ramdisk.sh +++ b/build_pxe_ramdisk.sh @@ -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 < $CHROOTCACHE/natty-stack/etc/network/interfaces <