Skip to content

Commit

Permalink
Try moving all interfaces to Private
Browse files Browse the repository at this point in the history
  • Loading branch information
dagwieers committed Mar 26, 2019
1 parent 76602d8 commit 29adf26
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tigervnc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@

- name: Ensure we are on a private network
win_shell: |
(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)
Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "LAN-Verbinding" -ErrorAction SilentlyContinue
Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "Local Area Connection" -ErrorAction SilentlyContinue
Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "Ethernet" -ErrorAction SilentlyContinue
Set-NetConnectionProfile -NetwerkCategory Private -InterfaceAlias "Draadloze netwerkverbinding" -ErrorAction SilentlyContinu
Set-NetConnectionProfile -NetworkCategory Private -InterfaceAlias "Wi-Fi" -ErrorAction SilentlyContinue
ignore_errors: yes
tags: private

# - name: Download VNC Connect
Expand Down Expand Up @@ -72,5 +75,6 @@
name: TigerVNC
startmode: auto
state: restarted
force: yes
force_dependent_services: yes
tags: service

0 comments on commit 29adf26

Please sign in to comment.