1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Changes for clone nfs

Add support for new vmware storage requirements (2 disks and .vmdk)
This commit is contained in:
Tino Vázquez 2010-09-30 19:32:04 +02:00
parent 51d14b22a9
commit 8f762b5d2a
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ http://*)
*)
log "Cloning $SRC_PATH"
exec_and_log "cp $SRC_PATH $DST_PATH"
exec_and_log "cp -r $SRC_PATH $DST_PATH"
;;
esac

View File

@ -805,7 +805,7 @@ int LibVirtDriver::deployment_description_vmware(
{
file << "\t\t<disk type='file' device='disk'>" << endl
<< "\t\t\t<source file='[" << datastore <<"] " << vm->get_oid()
<< "/images/disk." << i << ".vmdk'/>" << endl;
<< "/images/disk." << i << "/disk.vmdk'/>" << endl;
}
file << "\t\t\t<target dev='" << target << "'";