1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-15 23:24:09 +03:00

Get Image repository to work in syste wide

This commit is contained in:
Tino Vázquez 2011-07-19 16:52:12 +02:00
parent eda7a0d06a
commit 6141635ef5

View File

@ -19,7 +19,11 @@
#------------------------------------------------------------------------------
# Configuration File for File-System based Image Repositories
#------------------------------------------------------------------------------
export IMAGE_REPOSITORY_PATH=$ONE_LOCATION/var/images
if [ -z "${ONE_LOCATION}" ]; then
export IMAGE_REPOSITORY_PATH=/var/lib/one/images
else
export IMAGE_REPOSITORY_PATH=$ONE_LOCATION/var/images
fi
#------------------------------------------------------------------------------
# Function used to generate Image names, you should not need to override this