renamed scripts, added zscaler

This commit is contained in:
Zsolt Alföldi
2026-02-27 16:07:24 +01:00
parent ad2c34e2ac
commit 0641be36e6
6 changed files with 29 additions and 19 deletions

13
deployment/wifi.sh Executable file
View File

@@ -0,0 +1,13 @@
export wifi_iface=$(ls /sys/class/net 2>/dev/null | grep -E "^(wl|wlan|wlp)" | head -1)
if [ -z "$wifi_iface" ]; then
echo "No WiFi interface found skipping configuration."
exit 0
fi
echo "Configuring WiFi on $wifi_iface"
envsubst < /cdrom/nocloud/user-data-wifi.config > /target/etc/netplan/99-wifi.yaml
chmod 600 /target/etc/netplan/99-wifi.yaml
# chroot /target netplan generate