stage2: set publish-workstation to yes in avahi-daemon.conf

This commit is contained in:
Serge Schneider 2024-11-21 15:57:13 +00:00
parent 13c185cb79
commit f2d397f3ba

View File

@ -72,3 +72,7 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure keyboard-configuration
EOF EOF
sed -i 's/^#?Storage=.*/Storage=volatile/' "${ROOTFS_DIR}/etc/systemd/journald.conf" sed -i 's/^#?Storage=.*/Storage=volatile/' "${ROOTFS_DIR}/etc/systemd/journald.conf"
if [ -e "${ROOTFS_DIR}/etc/avahi/avahi-daemon.conf" ]; then
sed -i 's/^#?publish-workstation=.*/publish-workstation=yes/' "${ROOTFS_DIR}/etc/avahi/avahi-daemon.conf"
fi