1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

the context isos are now generated as cdroms in libvirt (#165)

git-svn-id: http://svn.opennebula.org/one/trunk@899 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Jaime Melis 2009-10-28 11:23:05 +00:00
parent 033a20ebf4
commit eb93134628

View File

@ -330,7 +330,7 @@ int LibVirtDriver::deployment_description(
if ( !target.empty() )
{
file << "\t\t<disk type='file' device='disk'>" << endl;
file << "\t\t<disk type='file' device='cdrom'>" << endl;
file << "\t\t\t<source file='" << vm->get_remote_dir() << "/disk."
<< num << "'/>" << endl;
file << "\t\t\t<target dev='" << target << "'/>" << endl;