kvmd-bootconfig: provide ENABLE_AVAHI

This commit is contained in:
Maxim Devaev 2024-09-04 04:39:56 +03:00
parent 5c3ac4c9c1
commit af9023e8aa

View File

@ -131,6 +131,14 @@ if [ -n "$FIRSTBOOT$FIRST_BOOT" ]; then
fi
# ========== Avahi ==========
if [ -n "$ENABLE_AVAHI" ]; then
systemctl enable avahi-daemon || true
touch /boot/pikvm-reboot.txt
fi
# ========== OTG serial ==========
if [ -n "$ENABLE_OTG_SERIAL" ]; then