mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-18 02:42:54 +09:00
Merge branch 'feature-2399'
This commit is contained in:
commit
ea95505ebf
1 file changed
+9
-1
+9
-1
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user