mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
feature #1020: Fix PATH to rename base image file for vmware
This commit is contained in:
1 parent
81879f1acb
commit
d50c9fd86c
1 file changed
+2
-2
@@ -64,7 +64,7 @@ vmware://*)
|
||||
|
||||
BASE_DISK_FILE=`ls $DST | grep -v '.*-s[0-9]*\.vmdk'`
|
||||
|
||||
exec_and_log "mv $BASE_DISK_FILE $DST/disk.vmdk" \
|
||||
exec_and_log "mv $DST/$BASE_DISK_FILE $DST/disk.vmdk" \
|
||||
"Error renaming disk file $BASE_DISK_FILE to disk.vmdk"
|
||||
|
||||
exec_and_log "chmod 0770 $DST"
|
||||
@@ -91,4 +91,4 @@ esac
|
||||
|
||||
SIZE=`fs_du $DST`
|
||||
|
||||
echo "$DST $SIZE"
|
||||
echo "$DST $SIZE"
|
||||
Reference in new issue
Block a user