mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
minor bug in iscsi/clone
This commit is contained in:
parent
63f03bbe0a
commit
c69ee2fbac
@ -16,6 +16,23 @@
|
||||
# limitations under the License. #
|
||||
#--------------------------------------------------------------------------- #
|
||||
|
||||
# clone fe:SOURCE host:remote_system_ds/disk.i size
|
||||
# - fe is the front-end hostname
|
||||
# - SOURCE is the path of the disk image in the form DS_BASE_PATH/disk
|
||||
# - host is the target host to deploy the VM
|
||||
# - remote_system_ds is the path for the system datastore in the host
|
||||
|
||||
SRC=$1
|
||||
DST=$2
|
||||
|
||||
if [ -z "${ONE_LOCATION}" ]; then
|
||||
TMCOMMON=/var/lib/one/remotes/tm/tm_common.sh
|
||||
else
|
||||
TMCOMMON=$ONE_LOCATION/var/remotes/tm/tm_common.sh
|
||||
fi
|
||||
|
||||
. $TMCOMMON
|
||||
|
||||
log_error "CLONE not supported for TM_ISCSI. Use persistent images"
|
||||
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user