Request #4676

Images inherit attributes from their datastore

Added by EOLE Team almost 5 years ago.

Status:PendingStart date:07/22/2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Pull request:

Description

Hello,

I have basically two datastores:

  • a datastore for qcow2 images (TM_MAD=qcow2)
  • a dedicated datastore for ISO images with TM_MAD=shared since TM_MAD=qcow2 does not work for raw ISO images

I would like to define image attributes at the highest level as possible to minimise the need to define it, an attributes is defined in the following hierarchy:

  • datastores attributes: common to all images in the datastore, for example the DRIVER=qcow2 for my OS images
  • images attributes: for special case images, like windows machine redefining DEV_PREFIX=hd
  • VM template

Is that possible?

Regards.

Discussion was on the forum: https://forum.opennebula.org/t/default-image-dev-prefix-and-driver/2612

Also available in: Atom PDF