Doing this in a fully automated way, however it is not pretty and requires lots of tools.
I have a jenkins master node that has 3 slave nodes which have vmware, virtualbox and qemu installed respectively. Each image: CentOS6, CentOS7, Windows has its own pipeline configured. The pipeline clones some packer configuration, something like https://github.com/boxcutter executes a validate, kicks of building across the three slave nodes uploading the image to some potential releases store. It then goes on to validate the images by running some serverspec tests. Assuming all tests pass the images are moved to a release store and upload to our IaaS via cli clients. Hope this helps...... https://github.com/boxcutter/windows is most likely the starting point. On 25 February 2016 at 00:04, Nux! <[email protected]> wrote: > I do a similar thing (so zero automation). > In addition I have an extra step involving a generalized sysprep, > otherwhise the template is not really "unique". > > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro > > ----- Original Message ----- > > From: "Cristian Ciobanu" <[email protected]> > > To: [email protected] > > Cc: [email protected] > > Sent: Wednesday, 24 February, 2016 22:06:55 > > Subject: Re: Automated generation of Windows templates for CloudStack > > > Hi, > > > > For me work very nice for windows 2008 and 2012 just with "cloud > init" > > installed on template. > > > > 1. install Windows from ISO, Set any password, enable rdp, you can > also set to > > off "IE sec" ( install drivers, apps if needed) > > 2. Restart. > > 3. Install "cloud init" > > 4. Shutdown > > 5. Create Template > > > > Right now I test "cloudbase init" for Win 10, 8.1, and 7. > > > > Regards. > > Cristian > > > > > > > > On Feb 24, 2016, 11:21 PM, at 11:21 PM, ilya < > [email protected]> > > wrote: > >>Has anyone came across a good way (or figured out) out end-to-end > >>automated windows template generation and cloudstack integration? > >> > >>I'd like to lower my dependency on external tools as much as possible, > >>unless there is a reliable way of getting it to work. > >> > >>Is there anything besides packer? > >> > >>thanks > > >ilya >
