I would think you could overcome this to some extant with cloud-init on linux.

But...
Would require user to add a data disk when creating instance.
Limited to the 1 disk in the add instance wizard.
Possible errors if no data disk added by user.
Requires custom cloud-init configuration baked into the template.
Assumes device names are consistent (pretty sure this is true for specific 
Linux distros, but may not hold for all Linux distros).
Assumes cloud-init can be configured to do this with the version present on 
your distro.

So not optimal or as easy as a data disk being part of a template, but might 
work for your use case.

Darren
-- 
This e-mail is confidential. Any distribution, use or copying of this e-mail or 
the information it contains other than by the intended recipient is forbidden. 
If you are not the intended recipient, please advise the sender (by return 
e-mail or otherwise) immediately and delete this e-mail.

----- Original Message -----
From: "Daan Hoogland" <daan.hoogl...@gmail.com>
To: "users" <users@cloudstack.apache.org>, pi...@piszki.pl
Sent: Friday, September 17, 2021 5:37:50 AM
Subject: Re: vm template with data disk

I don't think taht this is implemented for KVM

On Fri, Sep 17, 2021 at 2:31 PM Piotr Pisz <pi...@piszki.pl> wrote:

> I meant KVM :-)
>
> Piotr
>
>
> -----Original Message-----
> From: Daan Hoogland <daan.hoogl...@gmail.com>
> Sent: Friday, September 17, 2021 2:00 PM
> To: users <users@cloudstack.apache.org>; pi...@piszki.pl
> Subject: Re: vm template with data disk
>
> yes, at least for vmware it is.
>
> On Fri, Sep 17, 2021 at 1:06 PM Piotr Pisz <pi...@piszki.pl> wrote:
>
> > Hi, is it possible to prepare a vm template with a data disk? One or
> many?
> >
> > Regards,
> > Piotr
> >
> >
> >
>
> --
> Daan
>
>

-- 
Daan

Reply via email to