Skip to content

Commit

Permalink
updating dynamic port range for windows to address some collisions
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Rossetti <[email protected]>
  • Loading branch information
marosset committed Dec 12, 2022
1 parent 3a2e968 commit ea16c98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions images/capi/ansible/windows/roles/systemprep/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
data: 1
type: dword

- name: Expand dynamic port range to 33000-65535 to avoid port exhaustion
win_shell: netsh int ipv4 set dynamicportrange tcp 33000 32536
- name: Expand dynamic port range to 34000-65535 to avoid port exhaustion
win_shell: netsh int ipv4 set dynamicportrange tcp 34000 31536

- name: Add required Windows Features
win_feature:
Expand Down
4 changes: 2 additions & 2 deletions images/capi/packer/goss/goss-command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ command:
exit-status: 0
exec: netsh int ipv4 show dynamicportrange tcp
stdout:
- "Start Port : 33000"
- "Number of Ports : 32536"
- "Start Port : 34000"
- "Number of Ports : 31536"
timeout: 30000
{{end}}

Expand Down

0 comments on commit ea16c98

Please sign in to comment.