This commit is contained in:
Renan Vilas Novas 2021-09-22 16:02:37 -03:00
Родитель e4832e8336
Коммит 060f3bf1a6
2 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -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`.

Просмотреть файл

@ -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