cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cloud List <cloud-l...@sg.or.id>
Subject Re: Creating Windows Server 2016 template for CloudStack
Date Mon, 14 Aug 2017 00:50:41 GMT
Thanks Todd.

I found out that the correct syntax is:

cd c:\windows\system32\sysprep
sysprep.exe /oobe /generalize /shutdown
/unattend:c:\windows\system32\sysprep\unattend.xml

Trying this now and will share the outcome shortly.

Thank you for your advice.

Cheers.

-ip-


On Fri, Aug 11, 2017 at 6:21 PM, Todd Pigram <todd@toddpigram.com> wrote:

> You need to specify the xml in the command.
>
> sysprep.exe /oobe /generalize /shutdown c:\system32\sysprep\unattend.xml.
>
> On w2016, its Autounattend.xml for the file name.
>
> On Fri, Aug 11, 2017 at 5:28 AM, Cloud List <cloud-list@sg.or.id> wrote:
>
> > Dear all,
> >
> > I am using CloudStack 4.8 and KVM hypervisor, andI tried creating a
> Windows
> > Server 2016 OS template using sysprep following the instruction on the
> > "System Preparation for Windows Server 2008 R2" section of the
> > documentation at below URL:
> >
> > http://docs.cloudstack.apache.org/projects/cloudstack-
> > administration/en/4.8/templates/_create_windows.html
> >
> > However, after the template is created and I tried to spin off a new VM
> > using the template, the console is still prompting the Language and
> > Country/Region selection, EULA and change password selection when
> > booting-up. It seems that the sysprep process to automate those steps
> > didn't work.
> >
> > I did saved the unattend.xml file into the C:\Windows\System32\sysprep
> > folder and run "sysprep.exe /oobe /generalize /shutdown" before creating
> > the template from the main VM.
> >
> > Did I miss anything, or is the sysprep process for Windows Server 2016 is
> > different from 2008? The same method worked for 2012 last time.
> >
> > Any advice is appreciated, thank you.
> >
> > Cheers.
> >
> > -ip-
> >
>
>
>
> --
>
>
> Todd Pigram
> http://about.me/ToddPigram
> www.linkedin.com/in/toddpigram/
> @pigram86 on twitter
> https://plus.google.com/+ToddPigram86
> Mobile - 216-224-5769
>
> PGP Public Key
> <http://pgp.mit.edu/pks/lookup?op=get&search=0x96B7B0F0C55933BB>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message