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:
commit
ea95505ebf
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user