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

bug #611: No default disk driver hardcoded to fix compatiblity with VMware Server.

This commit is contained in:
Tino Vázquez 2011-05-12 16:04:12 +02:00
parent a0f1701f9a
commit ca379d4af8

View File

@ -166,11 +166,6 @@ int LibVirtDriver::deployment_description_vmware(
get_default("DISK","DRIVER",default_driver);
if (default_driver.empty())
{
default_driver = "raw";
}
num = vm->get_template_attribute("DISK",attrs);
if (num!=0)
@ -252,7 +247,10 @@ int LibVirtDriver::deployment_description_vmware(
}
else
{
file << default_driver << "'/>" << endl;
if (!default_driver.empty())
{
file << default_driver << "'/>" << endl;
}
}
if (readonly)