You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Piotr Pisz <pi...@piszki.pl> on 2021/09/17 11:06:02 UTC
vm template with data disk
Hi, is it possible to prepare a vm template with a data disk? One or many?
Regards,
Piotr
Re: vm template with data disk
Posted by Darren Cole <dc...@aseg.com.INVALID>.
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" <da...@gmail.com>
To: "users" <us...@cloudstack.apache.org>, piotr@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 <da...@gmail.com>
> Sent: Friday, September 17, 2021 2:00 PM
> To: users <us...@cloudstack.apache.org>; piotr@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
Re: vm template with data disk
Posted by Daan Hoogland <da...@gmail.com>.
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 <da...@gmail.com>
> Sent: Friday, September 17, 2021 2:00 PM
> To: users <us...@cloudstack.apache.org>; piotr@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
RE: vm template with data disk
Posted by Piotr Pisz <pi...@piszki.pl>.
I meant KVM :-)
Piotr
-----Original Message-----
From: Daan Hoogland <da...@gmail.com>
Sent: Friday, September 17, 2021 2:00 PM
To: users <us...@cloudstack.apache.org>; piotr@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
Re: vm template with data disk
Posted by Daan Hoogland <da...@gmail.com>.
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