Skip to content

Commit e18e6a3

Browse files
committedOct 29, 2013
Added log messages.
1 parent 073d5d7 commit e18e6a3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎UpdateAndSysprep.ps1

+6-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ else
1515
if($InstallCloudbaseInit)
1616
{
1717
Invoke-WebRequest -Uri http://www.cloudbase.it/downloads/CloudbaseInitSetup_Beta.msi -OutFile C:\Windows\Temp\CloudbaseInitSetup_Beta.msi
18+
Write-Host "Sleep 60 seconds"
19+
Start-Sleep -s 60
20+
Write-Host "Install Cloudbase-Init"
1821
Start-Process -FilePath msiexec -ArgumentList "/i C:\Windows\Temp\CloudbaseInitSetup.msi /qn /l*v C:\Windows\Temp\CloudbaseInitSetup_Beta.log" -Wait
19-
Start-Process -FilePath msiexec -ArgumentList "/i C:\Windows\Temp\CloudbaseInitSetup.msi /qn /l*v C:\Windows\Temp\CloudbaseInitSetup_Beta1.log" -Wait
22+
Write-Host "Sleep 60 seconds take 2"
23+
Start-Sleep -s 60
24+
Write-Host "Install Cloudbase-Init take 2"
2025
Start-Process -FilePath msiexec -ArgumentList "/i C:\Windows\Temp\CloudbaseInitSetup.msi /qn /l*v C:\Windows\Temp\CloudbaseInitSetup_Beta2.log" -Wait
2126
C:\Windows\System32\Sysprep\Sysprep.exe /generalize /oobe /shutdown /unattend:C:\Program\ Files\ (x86)\Cloudbase\ Solutions\Cloudbase-Init\conf\Unattend.xml
2227
}

0 commit comments

Comments
 (0)
Please sign in to comment.