build not going through because of 1 template
Before submitting your issue for the LabBuilder project, please take a moment to provide the following details:
- PSVersion 5.1.18362.752
- Console
- Win 10 64bit
- ModuleType Version Name ExportedCommands
Script 1.0.5.105 LabBuilder {Get-Lab, Get-LabResourceISO, Get-LabResourceModule, Get-LabResourceMSU...}
Hi, I run the build lab using "Sample_WS2016_NanoDomain.xml", everything goes through for creating the switches, nano vhdx, in my directory H:\Hyper-V\LabBuilder\VHDs, I can see
Nano Server 2016 Datacenter.vhdx
but right away after succesful nano it errors on the Template Source for 2016 Datacenter Full.vhdx template here is the output of the script
VERBOSE: Target Image Version 10.0.14393.0 VERBOSE: Successfully added package H:\Hyper-V\LabBuilder\VHDs\NanoServerPackages\Microsoft-NanoServer-Guest-Package.cab INFO : Package path: H:\Hyper-V\LabBuilder\VHDs\NanoServerPackages\en-us\Microsoft-NanoServer-Guest-Package_en-us.cab VERBOSE: Target Image Version 10.0.14393.0 VERBOSE: Successfully added package H:\Hyper-V\LabBuilder\VHDs\NanoServerPackages\en-us\Microsoft-NanoServer-Guest-Package_en-us.cab INFO : Dismounting VHDX… VERBOSE: VHDX final path is : H:\Hyper-V\LabBuilder\VHDs\Nano Server 2016 Datacenter.vhdx VERBOSE: Renaming VHDX at H:\Hyper-V\LabBuilder\VHDs\929a16a2-79f3-40c2-baef-b70781a94952.vhdx to Nano Server 2016 Datacenter.vhdx INFO : Closing Windows image… INFO : Done. VERBOSE: [17:11:50]: Dismounting H:\Hyper-V\LabBuilder\ISOs\14393.0.161119-1705.RS1_REFRESH_SERVER_EVAL_X64FRE_EN-US.ISO used for source WIM to create Template VHD Nano Server 2016 Datacenter
New-LabException : The Template Source VHD ‘H:\Hyper-V\LabBuilder\VHDs\Windows Server 2016 Datacenter Full.vhdx’ in Template ‘Template Windows Server 2016 Datacenter Full’ could not be found. At C:\Program Files\WindowsPowerShell\Modules\LabBuilder\1.0.5.105\LabBuilder.psm1:9032 char:17
- New-LabException @exceptionParameters
- CategoryInfo : InvalidArgument: (:) [New-LabException], Exception
- FullyQualifiedErrorId : TemplateSourceVHDNotFoundError,New-LabException