mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-28 14:50:08 +03:00
Redo fix for Ceph CDROM
This commit is contained in:
parent
19a3efe79d
commit
6baf8499e2
@ -532,13 +532,13 @@ int LibVirtDriver::deployment_description_kvm(
|
||||
}
|
||||
else if ( type == "RBD" || type == "RBD_CDROM" || disk_type == "RBD" )
|
||||
{
|
||||
if (type == "RBD" || disk_type == "RBD")
|
||||
if (type == "RBD_CDROM")
|
||||
{
|
||||
file << "\t\t<disk type='network' device='disk'>" << endl;
|
||||
file << "\t\t<disk type='network' device='cdrom'>" << endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
file << "\t\t<disk type='network' device='cdrom'>" << endl;
|
||||
file << "\t\t<disk type='network' device='disk'>" << endl;
|
||||
}
|
||||
|
||||
file << "\t\t\t<source protocol='rbd' name=";
|
||||
|
Loading…
x
Reference in New Issue
Block a user