Add CONTAINER_NAME to BASE_IMAGE_COPY value
This commit is contained in:
parent
35a5349299
commit
e4f030fef1
1 changed files with 4 additions and 4 deletions
|
@ -45,14 +45,14 @@ source ./stackrc
|
||||||
DIST_NAME=${DIST_NAME:-natty}
|
DIST_NAME=${DIST_NAME:-natty}
|
||||||
IMAGE_FNAME=$DIST_NAME.raw
|
IMAGE_FNAME=$DIST_NAME.raw
|
||||||
|
|
||||||
|
# Name of our instance, used by libvirt
|
||||||
|
CONTAINER_NAME=${CONTAINER_NAME:-kvmstack}
|
||||||
|
|
||||||
# Original version of built image
|
# Original version of built image
|
||||||
BASE_IMAGE=$KVMSTACK_DIR/images/natty.raw
|
BASE_IMAGE=$KVMSTACK_DIR/images/natty.raw
|
||||||
|
|
||||||
# Copy of base image, which we pre-install with tasty treats
|
# Copy of base image, which we pre-install with tasty treats
|
||||||
BASE_IMAGE_COPY=$IMAGES_DIR/$DIST_NAME.raw.copy
|
BASE_IMAGE_COPY=$IMAGES_DIR/$DIST_NAME.$CONTAINER_NAME.raw.copy
|
||||||
|
|
||||||
# Name of our instance, used by libvirt
|
|
||||||
CONTAINER_NAME=${CONTAINER_NAME:-kvmstack}
|
|
||||||
|
|
||||||
# Mop up after previous runs
|
# Mop up after previous runs
|
||||||
virsh destroy $CONTAINER_NAME
|
virsh destroy $CONTAINER_NAME
|
||||||
|
|
Loading…
Reference in a new issue