From 0055819cd133c8c10db42173551ff15a4269f600 Mon Sep 17 00:00:00 2001 From: Sabu-coder <55260379+Sabu-coder@users.noreply.github.com> Date: Fri, 13 Oct 2023 20:42:31 +0200 Subject: [PATCH] Update deploycaptureserver.ps1 --- capturetokenphish/deploycaptureserver.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/capturetokenphish/deploycaptureserver.ps1 b/capturetokenphish/deploycaptureserver.ps1 index 28413e9..9130537 100644 --- a/capturetokenphish/deploycaptureserver.ps1 +++ b/capturetokenphish/deploycaptureserver.ps1 @@ -23,8 +23,8 @@ Write-Output "Running Commands.." Write-Output "az group create --name $ResourceGroup --location $location" az group create --name $ResourceGroup --location $location Start-Sleep -Seconds 5 -Write-Output "az vm create --resource-group $ResourceGroup --name webinar --image Ubuntu2204 --public-ip-sku Standard --public-ip-address-dns-name $vmPublicDNSName --admin-username azureuser --ssh-key-values $pubKey" -az vm create --resource-group $ResourceGroup --name $vmName --image Ubuntu2204 --public-ip-sku Standard --public-ip-address-dns-name $vmPublicDNSName --admin-username azureuser --ssh-key-values $pubKey +Write-Output "az vm create --resource-group $ResourceGroup --name webinar --image Ubuntu22.04 --public-ip-sku Standard --public-ip-address-dns-name $vmPublicDNSName --admin-username azureuser --ssh-key-values $pubKey" +az vm create --resource-group $ResourceGroup --name $vmName --image Ubuntu22.04 --public-ip-sku Standard --public-ip-address-dns-name $vmPublicDNSName --admin-username azureuser --ssh-key-values $pubKey Start-Sleep -Seconds 5 Write-Output "az vm open-port --port 80,443,8443 --resource-group $ResourceGroup --name $vmName" az vm open-port --port 80,443,8443 --resource-group $ResourceGroup --name $vmName