I have an issue with SolidCP 1.4.2 with HyperV service provider configured. I am getting this error sysprep file when I try to create a new VM.
Here is the error.
00:00:00 Setup external network
00:00:00 Assigning external IP addresses
00:00:00 Setting external primary IP address
00:00:00 Setup management network
00:00:00 Management network setup - Skipped
00:00:00 Setup private network
00:00:00 Private network setup - Skipped
00:00:00 OS Template Generation: 2
00:00:00 SecureBoot: Enabled
00:00:00 OS Template: Win2012R2DC
00:00:00 Start Converting template VHD
00:00:00 Template VHD path: C:Hyper-VSCPTemplatesMaster-WinServer2012R2DC.vhdx
00:00:00 Converting to 'C:Hyper-VSCPCustomerscust4cust4-6Virtual Hard Diskscust4-6.vhdx'
00:03:14 Template VHD size: 80 GB
00:03:14 Expanding to 60 GB
00:03:14 Expand VHD - Skipped
00:03:24 Skip expanding VHD - no volumes found
00:03:24 Sysprep file: WindowsSystem32sysprepunattend.xml
00:03:24 Error processing sysprep file: Index was outside the bounds of the array.
00:03:25 CPU cores: 1
00:03:25 RAM: 1048 MB
00:03:25 Creating Virtual Machine object
00:03:34 Virtual Machine object created
00:03:34 Setting "computer name" provisioning task parameters
00:03:35 Trying to add the Task
00:03:35 The task has been sent to the VPS
00:03:35 Setting "administrator password" provisioning task parameters
00:03:35 Trying to add the Task
00:03:35 The task has been sent to the VPS
00:03:35 Setting "external NIC" provisioning task parameters
00:03:35 Trying to add the Task
00:03:35 The task has been sent to the VPS
00:03:35 Setting "management NIC" provisioning task parameters
00:03:35 Setting "private NIC" provisioning task parameters
00:03:35 Starting VPS...
00:03:40 VPS started
00:03:40 VPS successfully created
I am using the sysprep file which is advised here to use by the manual.
http://installer.solidcp.com/Files/stable/Tools/Sysprep/2012r2DC-Unattend.xml
http://installer.solidcp.com/Files/stable/Tools/Sysprep/2012r2DC-Unattent-gen.xml
Please advise what could be a missing.
Thanks. I've followed steps which has been described here. https://solidcp.com/kb/configuration/hyperv2012r2-os-template/
Could you please advise what is missing?
Try recreating the template again. Strictly follow the instructions. Perhaps you incorrectly copied the file unattend.xml. I cannot advise more here.