Skip to content

Commit

Permalink
Missed one StorageType
Browse files Browse the repository at this point in the history
  • Loading branch information
nyanhp committed Sep 14, 2020
1 parent d359f1e commit f0b1223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AutomatedLab/AutomatedLabDisks.psm1
Expand Up @@ -399,7 +399,7 @@ function Update-LabIsoImage
New-Item -ItemType Directory -Path $OutputPath | Out-Null


$image = Mount-LabDiskImage -ImagePath $SourceIsoImagePath -PassThru
$image = Mount-LabDiskImage -ImagePath $SourceIsoImagePath -StorageType ISO -PassThru
Get-PSDrive | Out-Null #This is just to refresh the drives. Somehow if this cmdlet is not called, PowerShell does not see the new drives.

if($image)
Expand Down

0 comments on commit f0b1223

Please sign in to comment.