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:
parent
0aa121d633
commit
4a3379272b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user