diff --git a/quickstart/README.md b/quickstart/README.md index 0f631d5..13713cb 100644 --- a/quickstart/README.md +++ b/quickstart/README.md @@ -143,8 +143,6 @@ Execute all these steps below to setup your evironment before running the Hands- ./quickstart/scripts/labvm/Deploy-LabVM.ps1 ``` - - When prompted for the `sourceSas` parameter, provide the following value: `https://stlabvm.blob.core.windows.net/vhd/labvm-001.vhd?sp=r&st=2021-09-21T19:04:44Z&se=2021-09-25T03:04:44Z&spr=https&sv=2020-08-04&sr=b&sig=qJATNoRXYE34IBybuAMTaMzWyPTr8mZSp3EiYFoRnLk%3D` - 2. Access the VM resource and assign a new password to the user `labuser`. diff --git a/quickstart/scripts/labvm/Deploy-LabVM.ps1 b/quickstart/scripts/labvm/Deploy-LabVM.ps1 index a77f3cd..3e63cb9 100644 --- a/quickstart/scripts/labvm/Deploy-LabVM.ps1 +++ b/quickstart/scripts/labvm/Deploy-LabVM.ps1 @@ -1,6 +1,5 @@ param ( - [parameter(mandatory=$true)] - [string]$sourceSas, + [string]$sourceVhd = 'https://stlabvm.blob.core.windows.net/vhd/labvm-001.vhd', # Size of the VHD snapshot in bytes [long]$vhdSizeBytes = 136367309312, @@ -29,7 +28,7 @@ $disk = Get-AzDisk -ResourceGroupName $resourceGroupName -DiskName $diskName Write-Host "[DevSquad In a Day] Copying the lab VM snapshot to your subscription" -azcopy copy $sourceSas $diskSas.AccessSAS --blob-type PageBlob +azcopy copy $sourceVhd $diskSas.AccessSAS --blob-type PageBlob Revoke-AzDiskAccess -ResourceGroupName $resourceGroupName -DiskName $diskName