Thanks all for your feedback, I've moved the systemvmtemplate appliance build infra to packer in PR #2211. I've also added a new CentOS7 based built-in template that may be used for this initiative. The new build infra uses packer and qemu to build templates and qemu-img, ovftool and vhd-utils to export templates for all supported hypervisors - KVM, VMware, XenServer, OVM and Hyper-V.
I tested the upstream builds from CentOS7 and it did not work for me, perhaps we can use the built-in/packer template and go from there. Thoughts? Regards. ________________________________ From: Rohit Yadav <rohit.ya...@shapeblue.com> Sent: Monday, December 11, 2017 11:26:52 PM To: dev@cloudstack.apache.org Subject: Re: [DISCUSS] Replace the default built-in centos template I like the idea of having two default/built-in templates for users - CentOS and Ubuntu (or Debian or both?), however, most of the distros don't host all the templates in all the formats that CloudStack can consume. The other issues are how do we fix this for users, I propose: - We don't add these new templates for existing environments/installations to maintain backward compatibilities and usage. The built-in templates are available on download.cloudstack.org. - For new installations, we add these new built-in templates in the templates.sql file. However, the old CentOS5.x based built-in template is used in several of the tests where the tool/env is not same as found in macchinina or other test templates. To solve this problem, I propose to keep the built-in templates separate from test-templates -- I've started refactoring smoke tests (in my PR #2211) to use a new utility 'get_test_template' from marvin that atmost downloads a test template (currently macchinina) returns them to tests to use. (I hit some issues where I could not replace the built-in centos template with macchinina as cert tools/binaries are not available or kernel does not understand a filesystem type etc. I'm compiling those issues and will work with Nux and others to eventually get them fixed). I think for reproducibilities (of running and verifying test/results), we need a test template that is different from what is shipped in prod cloudstack env (and also small, fast). - Rohit ________________________________ From: Wido den Hollander <w...@widodh.nl> Sent: Sunday, December 10, 2017 6:09:15 PM To: dev@cloudstack.apache.org Subject: Re: [DISCUSS] Replace the default built-in centos template On 12/09/2017 07:18 PM, Milamber wrote: > > Great idea. Perhaps using the official CentOS 7 generic image > > https://wiki.centos.org/Download > http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2 > or > http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2.xz > (need to update the download method to add the support of XZ format) Yes, CentOS 7 seems fine. I am a Ubuntu user/fan and they also have a cloud image: https://cloud-images.ubuntu.com/ We might include CentOS and Ubuntu as they are the two major distributions out there. Wido > > > > On 09/12/2017 14:36, Rohit Yadav wrote: >> All, >> >> I would like to kick a discussion thread on replacing the current >> centos5 based built-in guest vm template with a systemd and cloud-init >> enabled centos7 one? >> >> Thoughts, comments? >> >> Regards. >> >> Get Outlook for Android<https://aka.ms/ghei36> >> >> >> rohit.ya...@shapeblue.com >> www.shapeblue.com<http://www.shapeblue.com> >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK >> @shapeblue >> > rohit.ya...@shapeblue.com www.shapeblue.com<http://www.shapeblue.com> 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue rohit.ya...@shapeblue.comĀ www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue