Unable to use Custom Labconfig file.
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1.3k
- Forks
- 304
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
First, thank you so much for this project – it’s a huge help to the repro lab and also a valuable learning experience. However, I’m encountering an issue with the custom Labconfig file. When I use the default configuration, everything works fine, but as soon as I specify the domain name parameter, the creation of the DC parent disk fails. Below is the Labconfig I intended to use. Please let me know what I might be missing. I am using Server 2022 ISO for this lab. Thank you!.
$LabConfig=@{AllowedVLANs="1-10,711-719" ; DomainAdminName='LabAdmin'; AdminPassword='Password123!'; DomainName='ITC.local' ; DomainNetbiosName='DC' ; InstallSCVMM='Yes' ; Prefix = 'MSLab-' ; DCEdition='4'; Internet=$true ; AdditionalNetworksConfig=@(); VMs=@()}
1..4 | ForEach-Object {$LABConfig.VMs += @{ VMName = "S2D$_" ; Configuration = 'S2D' ; ParentVHD = 'Win2022.vhdx'; SSDNumber = 0; SSDSize=800GB ; HDDNumber = 12; HDDSize= 4TB ; MemoryStartupBytes= 512MB }}
Below is the snippet:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied $LabConfig with the Server 2022 ISO, especially the DomainName, DomainNetbiosName, DCEdition, and VM settings. Trace the creation of the DC parent disk and compare it with the default configuration; done means the custom configuration creates that disk successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- infrastructure, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100