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:
parent
51d14b22a9
commit
8f762b5d2a
@ -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
|
||||
|
||||
|
@ -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 << "'";
|
||||
|
Loading…
x
Reference in New Issue
Block a user