Skip to content

Commit

Permalink
Better support local public connections
Browse files Browse the repository at this point in the history
  • Loading branch information
dagwieers committed Feb 5, 2018
1 parent 882065a commit 92b804c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rdesktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

- setup:

# This doesn't work for all systems :-/
- name: Ensure we are on a private network
win_shell: |
Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias LAN-Verbinding
Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias Ethernet
ignore_errors: yes
(Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "LAN-Verbinding" -ErrorAction SilentlyContinue) -or
(Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "Local Area Connection" -ErrorAction SilentlyContinue) -or
(Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "Ethernet" -ErrorAction SilentlyContinue)
tags: private

# Only do this for non-Pro versions
- name: Only run this for Home edition
Expand Down

0 comments on commit 92b804c

Please sign in to comment.