1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

Updated scripts to disconnect at the end.

This commit is contained in:
vr4manta
2024-04-30 07:19:03 -04:00
parent e72c921049
commit 1b22f93cc8
2 changed files with 4 additions and 1 deletions

View File

@@ -77,4 +77,6 @@ foreach ($policy in $storagePolicies) {
# Clean up tags
Remove-Tag -Tag $tag -confirm:$false
Remove-TagCategory -Category $tagCategory -confirm:$false
Remove-TagCategory -Category $tagCategory -confirm:$false
Disconnect-VIServer -Server $vcenter -Force:$true -Confirm:$false

View File

@@ -517,5 +517,6 @@ if ($waitForComplete)
Get-Job | Remove-Job
Disconnect-VIServer -Server $vcenter -Force:$true -Confirm:$false
Write-Output "Install Complete!"