diff --git a/Dockerfile b/Dockerfile index f48df31..56f210a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ ARG DEBCONF_NONINTERACTIVE_SEEN="true" RUN set -eu && \ apt-get update && \ apt-get --no-install-recommends -y install \ - wsdd \ + wsdd2 \ samba \ wimtools \ dos2unix \ diff --git a/src/samba.sh b/src/samba.sh index 10960b3..43a83b8 100644 --- a/src/samba.sh +++ b/src/samba.sh @@ -129,7 +129,7 @@ if [[ "${BOOT_MODE:-}" == "windows_legacy" ]]; then fi else # Enable Web Service Discovery on Vista and up - wsdd -i "$interface" -p -n "$hostname" & + wsdd2 -i "$interface" -H "$hostname" -N "$hostname" & echo "$!" > /var/run/wsdd.pid fi