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:
parent
eda7a0d06a
commit
6141635ef5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user