New Question

Revision history [back]

click to hide/show revision 1
initial version

Is it possible to pass a new Win Server 2k16 serial key as argument when creating a VM?

So, I'm creating a series of scripts to mess around with VMs...creation, deletion etc.

One of the things I must do is to pass a [valid] Windows Server 2k12 and 2k16 serial number during the VM initialization.

Right now, I'm at the point where I'm creating a new ISO image on a Ubuntu env., configuring a Windows VM to have this ISO as a CD-ROM, and when I start the VM - which has Cloudbase Init installed in it - it is able to successfully run cloudbase-init. Log is below.

The thing is...I can see at the log that "WindowsLicensingPlugin" executes and all, but....I've bee searching ALL over the internet and found no evidence whatsoever that it's possible to somehow use WindowsLicensingPlugin to inform a new License key and set it on the Win VM.

Any thoughts would be greatly appreciated. Thanks!