1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-28 17:47:03 +03:00

Bug: Solves save_as in VMFS when the target directory does not exists.

This commit is contained in:
Ruben S. Montero 2013-07-05 12:32:23 +02:00
parent 0aa121d633
commit 4a3379272b

View File

@ -73,6 +73,7 @@ if [ \( -L $SRC_DISK \) -a \( "\$SRC_DISK_LN" = "\$DST_DISK_LN" \) ]; then
elif [ -L "$SRC_PATH.iso" ]; then
echo "Not moving the file it is a CDROM"
else
mkdir -p $DST_PATH
$VMKFSTOOLS -U $DST_DISK
$VMKFSTOOLS -i $SRC_DISK -d thin $DST_DISK