mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature 2399: Do not clone cdrom images
This commit is contained in:
parent
a8c0702400
commit
97c0376e62
@ -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