On 3/23/21 11:44 AM, Rohit Yadav wrote:
> Thanks Wido, that would be useful. Maybe we fork one of the recipes to create 
> new default template(s) for CloudStack.
> 

Yes, that's possible! With a few simple adjustments we can do so.

We could add this to the cloudstack repo in a directory
'default-template' or something where we build a CentOS or Ubuntu image
which works out of the box on CloudStack.

Not really that hard to build that template with all the work we already
did.

Wido

> 
> Regards.
> 
> ________________________________
> From: li jerry <[email protected]>
> Sent: Monday, March 22, 2021 19:07
> To: [email protected] <[email protected]>
> Subject: 回复: CentOS, Debian and Ubuntu templates for CloudStack
> 
> thank you for your sharing
> 
> Is there a CICD solution for windows tempalte?
> 
> 
> -----邮件原件-----
> 发件人: Wido den Hollander <[email protected]>
> 发送时间: 2021年3月19日 23:58
> 收件人: [email protected]
> 主题: CentOS, Debian and Ubuntu templates for CloudStack
> 
> Hi,
> 
> At PCextreme ( https://www.pcextreme.com/ ) we have thousands of Virtual 
> Machines running on Apache CloudStack with the KVM hypervisor.
> 
> One of the things which is always a challenge is having proper templates 
> which you can use to deploy Virtual Machines rapidly.
> 
> We use the Packer tool to build templates for VMs on CloudStack. The code for 
> building these is available on Github:
> https://github.com/PCextreme/packer-templates/
> 
> The resulting QCOW2 files are uploaded to a public S3 bucket:
> https://compute.o.auroraobjects.eu/
> 
> For example, the Ubuntu 20.04 template from 18-03-2021 can be found here:
> 
> https://compute.o.auroraobjects.eu/templates/ubuntu-20.04_master_240a36d2.qcow2
> 
> Gitlab's CI/CD is used to build these templates and successful builds of the 
> master branch are pushed to S3.
> 
> The templates support:
> 
> - Growing the root disk upon first boot
> - CloudStack password server (via cloud-init)
> - cloud-init userdata
> 
> The PCextreme IPv6 recursive DNS servers are harcoded into these templates 
> which make them not suitable for all deployments, but you can use the code to 
> easily build your own templates.
> 
> Hope this helps!
> 
> Wido
> 
> [email protected] 
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>   
>  
> 

Reply via email to