Request #4676
Images inherit attributes from their datastore
Status: | Pending | Start date: | 07/22/2016 | |
---|---|---|---|---|
Priority: | Normal | Due 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
sinceTM_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