mirror of
https://github.com/shokinn/.files.git
synced 2025-01-19 05:22:25 +00:00
add helper to show forwarding status
This commit is contained in:
parent
bcef2f02d9
commit
286966d1f5
|
@ -116,6 +116,9 @@ dotfiles:
|
||||||
f_wslenablehypervforwarding:
|
f_wslenablehypervforwarding:
|
||||||
dst: ~/.bin/wslenablehypervforwarding
|
dst: ~/.bin/wslenablehypervforwarding
|
||||||
src: bin/wslenablehypervforwarding
|
src: bin/wslenablehypervforwarding
|
||||||
|
f_wslshowhypervforwarding:
|
||||||
|
dst: ~/.bin/wslshowhypervforwarding
|
||||||
|
src: bin/wslshowhypervforwarding
|
||||||
f_pu:
|
f_pu:
|
||||||
dst: ~/.bin/pu
|
dst: ~/.bin/pu
|
||||||
src: bin/pu
|
src: bin/pu
|
||||||
|
@ -148,6 +151,7 @@ profiles:
|
||||||
- f_dotdrop.sh
|
- f_dotdrop.sh
|
||||||
- f_wsladdhypervroute
|
- f_wsladdhypervroute
|
||||||
- f_wslenablehypervforwarding
|
- f_wslenablehypervforwarding
|
||||||
|
- f_wslshowhypervforwarding
|
||||||
AINCRAD-wsl:
|
AINCRAD-wsl:
|
||||||
dotfiles:
|
dotfiles:
|
||||||
- d_fonts
|
- d_fonts
|
||||||
|
@ -170,6 +174,7 @@ profiles:
|
||||||
- f_dotdrop.sh
|
- f_dotdrop.sh
|
||||||
- f_wsladdhypervroute
|
- f_wsladdhypervroute
|
||||||
- f_wslenablehypervforwarding
|
- f_wslenablehypervforwarding
|
||||||
|
- f_wslshowhypervforwarding
|
||||||
yoetunheimr:
|
yoetunheimr:
|
||||||
dotfiles:
|
dotfiles:
|
||||||
- d_bspwm
|
- d_bspwm
|
||||||
|
@ -199,6 +204,7 @@ profiles:
|
||||||
- f_dotdrop.sh
|
- f_dotdrop.sh
|
||||||
- f_wsladdhypervroute
|
- f_wsladdhypervroute
|
||||||
- f_wslenablehypervforwarding
|
- f_wslenablehypervforwarding
|
||||||
|
- f_wslshowhypervforwarding
|
||||||
YOETUNHEIMR-wsl:
|
YOETUNHEIMR-wsl:
|
||||||
dotfiles:
|
dotfiles:
|
||||||
- d_fonts
|
- d_fonts
|
||||||
|
@ -221,6 +227,7 @@ profiles:
|
||||||
- f_dotdrop.sh
|
- f_dotdrop.sh
|
||||||
- f_wsladdhypervroute
|
- f_wsladdhypervroute
|
||||||
- f_wslenablehypervforwarding
|
- f_wslenablehypervforwarding
|
||||||
|
- f_wslshowhypervforwarding
|
||||||
ymir:
|
ymir:
|
||||||
dotfiles:
|
dotfiles:
|
||||||
- f_zshrc
|
- f_zshrc
|
||||||
|
@ -240,6 +247,7 @@ profiles:
|
||||||
- f_dotdrop.sh
|
- f_dotdrop.sh
|
||||||
- f_wsladdhypervroute
|
- f_wsladdhypervroute
|
||||||
- f_wslenablehypervforwarding
|
- f_wslenablehypervforwarding
|
||||||
|
- f_wslshowhypervforwarding
|
||||||
workspace:
|
workspace:
|
||||||
dotfiles:
|
dotfiles:
|
||||||
- d_fonts
|
- d_fonts
|
||||||
|
|
6
dotfiles/bin/wslshowhypervforwarding
Executable file
6
dotfiles/bin/wslshowhypervforwarding
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# This dotfile is managed using dotdrop
|
||||||
|
#
|
||||||
|
powershell.exe -ExecutionPolicy Bypass "Get-NetIPInterface | select ifIndex,InterfaceAlias,AddressFamily,ConnectionState,Forwarding | Sort-Object -Property IfIndex | Format-Table"
|
Loading…
Reference in a new issue