Re: [one-users] [SOLVED] Re: Context CDROM seen as hard drive

2013-11-20 Thread Carlos Martín Sánchez
Hi,

Right now you can set the CONTEXT/TARGET attribute manually. But we have
been discussing this, and we think we could manage the prefix better:
- Allowing to set CONTEXT/DEV_PREFIX. This can be done now for DISKs and
Images, but not for context.
- Using hd as the default prefix for cdrom disks (and context), ignoring
the dev prefix set in oned.conf

This will probably make it into the final release [1]

Regards.

[1] http://dev.opennebula.org/issues/2479

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Mon, Nov 18, 2013 at 6:27 PM, Daniel Dehennin 
daniel.dehen...@baby-gnu.org wrote:

 Javier Fontan jfon...@opennebula.org writes:

  Do not use virtio as a device driver for the CDROM as it does not
  emulate a CD. Use IDE (hda, for example).

 I finally found the solution by trying, I set in /etc/one/oned.conf:

 DEFAULT_DEVICE_PREFIX = vd

 I switch to:

 DEFAULT_DEVICE_PREFIX = hd

 and it works.

 I must admit I'm a bit confused between some settings in /etc/ and some
 in /var/lib/one/remotes, I need to study more ;-)

 Regards.
 --
 Daniel Dehennin
 Récupérer ma clef GPG:
 gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] [SOLVED] Re: Context CDROM seen as hard drive

2013-11-18 Thread Daniel Dehennin
Javier Fontan jfon...@opennebula.org writes:

 Do not use virtio as a device driver for the CDROM as it does not
 emulate a CD. Use IDE (hda, for example).

I finally found the solution by trying, I set in /etc/one/oned.conf:

DEFAULT_DEVICE_PREFIX = vd

I switch to:

DEFAULT_DEVICE_PREFIX = hd

and it works.

I must admit I'm a bit confused between some settings in /etc/ and some
in /var/lib/one/remotes, I need to study more ;-)

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF


pgpoUGZ0bbCpE.pgp
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org