Create img-run.sh

This commit is contained in:
Michael
2024-06-15 21:39:14 +01:00
committed by GitHub
parent b13361af5c
commit 06514de59f

20
Linux/img-run.sh Normal file
View File

@@ -0,0 +1,20 @@
#!/bin/sh
###############################################################################################
#
# ******
# *...../ / ******
# ************** *****/ *****/*****/***/*************/ ****** /**********
# ******/..*****/ *****/ *****/********//******/ ,*****/******,***** ,*****/
# *****/ ***** *****/ *****/*****/ *****/ /**************************
# *******//*****/ *************/*****/ *********************/*******./*/* ())
# ************* ******/*****/*****/ *****/******/. ****** ********** (()))
# *****/ *****/ ())
# *****/ *****/
#
#
###############################################################################################
# NOTICE: LINUX SPECIFIC SCRIPT
###############################################################################################
apt install qemu-guest-agent -y
printf '#!/bin/sh\n\nethtool -K %s rx-udp-gro-forwarding on rx-gro-list off \n' "$(ip route show 0/0 | cut -f5 -d" ")" | sudo tee /etc/networkd-dispatcher/routable.d/50-tailscale
chmod 755 /etc/networkd-dispatcher/routable.d/50-tailscale