mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-17 02:03:15 +09:00
feature #1617: Add default to disk_attribute
This commit is contained in:
1 parent
0aa1b5577f
commit
2d25550e6f
1 file changed
+3
@@ -545,6 +545,9 @@ int Image::disk_attribute( VectorAttribute * disk,
|
||||
disk_attr_type = "CDROM";
|
||||
disk->replace("READONLY","YES");
|
||||
break;
|
||||
|
||||
default: //Other file types should not be never a DISK
|
||||
break;
|
||||
}
|
||||
|
||||
disk->replace("TYPE",disk_attr_type);
|
||||
|
||||
Reference in new issue
Block a user