Skip to content

Commit b5ed046

Browse files
committed
Fix incorrect comments in Jenkins deployment script
1 parent 599e270 commit b5ed046

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jenkins-tutorial/deploy-jenkins-vm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ then
1313
# Create a new virtual machine, this creates SSH keys if not present.
1414
az vm create --resource-group $resourceGroup --name $virtualMachine --admin-username $adminUser --image UbuntuLTS --generate-ssh-keys
1515

16-
# Open port 22 to allow web traffic to host.
16+
# Open port 80 to allow web traffic to host.
1717
az vm open-port --port 80 --resource-group $resourceGroup --name $virtualMachine --priority 101
1818

19-
# Open port 80 to allow web traffic to host.
19+
# Open port 22 to allow ssh traffic to host.
2020
az vm open-port --port 22 --resource-group $resourceGroup --name $virtualMachine --priority 102
2121

2222
# Open port 8080 to allow web traffic to host.

0 commit comments

Comments
 (0)