Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build not going through because of 1 template #365

Open
eliassal opened this issue Jul 1, 2020 · 0 comments
Open

build not going through because of 1 template #365

eliassal opened this issue Jul 1, 2020 · 0 comments
Labels
needs investigation The issue needs to be investigated by the maintainers or/and the community.

Comments

@eliassal
Copy link

eliassal commented Jul 1, 2020

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
@PlagueHO PlagueHO added the needs investigation The issue needs to be investigated by the maintainers or/and the community. label Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation The issue needs to be investigated by the maintainers or/and the community.
Projects
None yet
Development

No branches or pull requests

2 participants