This pull request introduces several enhancements and updates to the azure_jumpstart_hcibox project, primarily focusing on adding new features, improving configuration, and updating dependencies. The key changes include adding new parameters, updating the script to handle these parameters, and modifying the download mechanism for VHD files.
New Features and Parameters:
Added new parameters debugEnabled and vmAutologon to the param block in Bootstrap.ps1. Also, added logic to handle these parameters, including setting environment variables and configuring VM autologon if enabled. (azure_jumpstart_hcibox/artifacts/PowerShell/Bootstrap.ps1) [1][2]
Configuration Updates:
Added new paths DSCDir and TestsDir to the Paths dictionary in HCIBox-Config.psd1. This update supports the new locations for DSC and test scripts. (azure_jumpstart_hcibox/artifacts/PowerShell/HCIBox-Config.psd1) [1][2]
Dependency Management:
Removed the installation of Chocolatey packages and replaced it with direct installation of PowerShell modules and PowerShell 7. This change simplifies the dependency management and ensures the use of the latest versions. (azure_jumpstart_hcibox/artifacts/PowerShell/Bootstrap.ps1) [1][2]
Script Enhancements:
Added logic to create scheduled tasks for WinGet.ps1 and HCIBoxLogonScript.ps1 using pwsh.exe instead of PowerShell.exe. This change ensures compatibility with PowerShell 7. (azure_jumpstart_hcibox/artifacts/PowerShell/Bootstrap.ps1)
Download Mechanism:
Updated the download mechanism for VHD files in New-HCIBoxCluster.ps1 to use azcopy instead of BITSRequest. This change improves the reliability and speed of downloading large VHD files. (azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1) [1][2]
This pull request introduces several enhancements and updates to the
azure_jumpstart_hcibox
project, primarily focusing on adding new features, improving configuration, and updating dependencies. The key changes include adding new parameters, updating the script to handle these parameters, and modifying the download mechanism for VHD files.New Features and Parameters:
debugEnabled
andvmAutologon
to theparam
block inBootstrap.ps1
. Also, added logic to handle these parameters, including setting environment variables and configuring VM autologon if enabled. (azure_jumpstart_hcibox/artifacts/PowerShell/Bootstrap.ps1
) [1] [2]Configuration Updates:
DSCDir
andTestsDir
to thePaths
dictionary inHCIBox-Config.psd1
. This update supports the new locations for DSC and test scripts. (azure_jumpstart_hcibox/artifacts/PowerShell/HCIBox-Config.psd1
) [1] [2]Dependency Management:
azure_jumpstart_hcibox/artifacts/PowerShell/Bootstrap.ps1
) [1] [2]Script Enhancements:
WinGet.ps1
andHCIBoxLogonScript.ps1
usingpwsh.exe
instead ofPowerShell.exe
. This change ensures compatibility with PowerShell 7. (azure_jumpstart_hcibox/artifacts/PowerShell/Bootstrap.ps1
)Download Mechanism:
New-HCIBoxCluster.ps1
to useazcopy
instead ofBITSRequest
. This change improves the reliability and speed of downloading large VHD files. (azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1
) [1] [2]Fixes to issues:
2748
2737
2732
2730
2714