From cd4eeca743a36d721baa7c616d92a00e220d0aae Mon Sep 17 00:00:00 2001 From: saitcho Date: Tue, 13 Feb 2024 12:55:16 -0600 Subject: [PATCH 1/2] updated paths --- .../artifacts/PowerShell/New-HCIBoxCluster.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1 b/azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1 index 0ab01f206a..2be95b1a35 100644 --- a/azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1 +++ b/azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1 @@ -1516,8 +1516,8 @@ foreach ($path in $HCIBoxConfig.Paths.GetEnumerator()) { # Download HCIBox VHDs Write-Host "[Build cluster - Step 1/10] Downloading HCIBox VHDs. This will may take some time..." -ForegroundColor Green -BITSRequest -Params @{'Uri'='https://aka.ms/AAnn1dd'; 'Filename'="$($HCIBoxConfig.Paths.VHDDir)\AZSHCI.vhdx" } -BITSRequest -Params @{'Uri'='https://jsvhds.blob.core.windows.net/hcibox23h2/AZSHCI.sha256?sp=r&st=2024-01-16T15:09:53Z&se=2027-01-16T23:09:53Z&spr=https&sv=2022-11-02&sr=b&sig=fM6nSGOUHIB90egY95Oc02NfXxFmh8fPK0bnibjAdQU%3D'; 'Filename'="$($HCIBoxConfig.Paths.VHDDir)\AZSHCI.sha256" } +BITSRequest -Params @{'Uri'='https://jsvhds.blob.core.windows.net/hcibox23h2/HCI23h2v2.vhdx?sp=r&st=2024-02-13T18:52:49Z&se=2027-02-14T02:52:49Z&spr=https&sv=2022-11-02&sr=b&sig=605POEbwhhJJmmV%2BIran%2B4DmQpOXqtkwADeU6ojXncM%3D'; 'Filename'="$($HCIBoxConfig.Paths.VHDDir)\AZSHCI.vhdx" } +BITSRequest -Params @{'Uri'='https://jsvhds.blob.core.windows.net/hcibox23h2/HCI23h2v2.sha256?sp=r&st=2024-02-13T18:54:44Z&se=2027-02-14T02:54:44Z&spr=https&sv=2022-11-02&sr=b&sig=FHHLgiaxYCZx5UbTIipJtYUIEsQ4dTFQM4%2BZMMLIjmM%3D'; 'Filename'="$($HCIBoxConfig.Paths.VHDDir)\AZSHCI.sha256" } $checksum = Get-FileHash -Path "$($HCIBoxConfig.Paths.VHDDir)\AZSHCI.vhdx" $hash = Get-Content -Path "$($HCIBoxConfig.Paths.VHDDir)\AZSHCI.sha256" if ($checksum.Hash -eq $hash) { From 77cfdafefe2cbf5ff876963580d75c6724d93554 Mon Sep 17 00:00:00 2001 From: saitcho Date: Tue, 13 Feb 2024 17:44:28 -0600 Subject: [PATCH 2/2] update image path --- .../artifacts/PowerShell/New-HCIBoxCluster.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1 b/azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1 index 2be95b1a35..9cacaf9d9b 100644 --- a/azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1 +++ b/azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1 @@ -1516,8 +1516,8 @@ foreach ($path in $HCIBoxConfig.Paths.GetEnumerator()) { # Download HCIBox VHDs Write-Host "[Build cluster - Step 1/10] Downloading HCIBox VHDs. This will may take some time..." -ForegroundColor Green -BITSRequest -Params @{'Uri'='https://jsvhds.blob.core.windows.net/hcibox23h2/HCI23h2v2.vhdx?sp=r&st=2024-02-13T18:52:49Z&se=2027-02-14T02:52:49Z&spr=https&sv=2022-11-02&sr=b&sig=605POEbwhhJJmmV%2BIran%2B4DmQpOXqtkwADeU6ojXncM%3D'; 'Filename'="$($HCIBoxConfig.Paths.VHDDir)\AZSHCI.vhdx" } -BITSRequest -Params @{'Uri'='https://jsvhds.blob.core.windows.net/hcibox23h2/HCI23h2v2.sha256?sp=r&st=2024-02-13T18:54:44Z&se=2027-02-14T02:54:44Z&spr=https&sv=2022-11-02&sr=b&sig=FHHLgiaxYCZx5UbTIipJtYUIEsQ4dTFQM4%2BZMMLIjmM%3D'; 'Filename'="$($HCIBoxConfig.Paths.VHDDir)\AZSHCI.sha256" } +BITSRequest -Params @{'Uri'='https://jsvhds.blob.core.windows.net/hcibox23h2/HCI23h2v2.vhdx'; 'Filename'="$($HCIBoxConfig.Paths.VHDDir)\AZSHCI.vhdx" } +BITSRequest -Params @{'Uri'='https://jsvhds.blob.core.windows.net/hcibox23h2/HCI23h2v2.sha256'; 'Filename'="$($HCIBoxConfig.Paths.VHDDir)\AZSHCI.sha256" } $checksum = Get-FileHash -Path "$($HCIBoxConfig.Paths.VHDDir)\AZSHCI.vhdx" $hash = Get-Content -Path "$($HCIBoxConfig.Paths.VHDDir)\AZSHCI.sha256" if ($checksum.Hash -eq $hash) {