Template Cloudstack Windows Server

16 views
Skip to first unread message

Nicolas Bouige

unread,
Oct 8, 2018, 10:25:00 AM10/8/18
to Packer
Hello all,

Im new to packer since...today !
I would like to use Packer to automatise template creation of windows server for a cloudstack infrastructure.

There are just few where i'm not sure.

1/ This is possible to do that from scratch with an iso ? or i need to do a basic template with a predefine unattended.xml and add soft/update with packer from it ?
2/ How to tell to the "build VM" to use the unattended.xml (need to be where packer is launched) ?
3/ Regarding winrm, the "build VM" need to have an ip public ? or packer need to be in the same network ?

any help well be appreciate !

Thanks,

Regards,
N.B

Alvaro Miranda Aguilera

unread,
Oct 9, 2018, 4:42:03 PM10/9/18
to packe...@googlegroups.com
hello

if you remove packer from the question, will be a normal windows question on how to do a silent install.

all this is answered in microsoft windows documentation.

you can pass unattended.xml over a floppy, or add it in some other way, all this is documented in Microsoft.

When you get familiar with this, will be easier to see how packer can help.

packer can create a virtual floppy with scripts and unattended.xml, that the Windows installer can read and use.


my suggestion will be get familiar with windows silent install first, do some custom installs without packer.

when that is done, find some packer project on any provider, ie Virtualbox, see now its done, and then all will be more clear.


from there, create your own (based on a working existing one) will be easier.


alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/ec9c5283-700d-4a3a-9d9a-307b810f44c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alvaro

Rickard von Essen

unread,
Oct 10, 2018, 2:00:01 AM10/10/18
to packe...@googlegroups.com
Just to clearify, the cloudstack builder doesn't support floppy. Maybe there is some other way of proving the autounattended.xml, I know nothing about Windows.

Even if you can't build the initial image on cloudstack you can do it in VirtualBox or Qemu and upload the result to CloudStack. After that you can do subsequent specializations with the CloudStack builder. 

Reply all
Reply to author
Forward
0 new messages