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

Merge branch 'feature-2399'

This commit is contained in:
Javi Fontan 2013-10-24 13:40:44 +02:00
commit ea95505ebf

View File

@ -560,7 +560,15 @@ int Image::disk_attribute( VectorAttribute * disk,
}
else
{
disk->replace("CLONE", "YES");
if ( type == CDROM )
{
disk->replace("CLONE", "NO");
}
else
{
disk->replace("CLONE", "YES");
}
disk->replace("SAVE", "NO");
}