diff --git a/buildroot-external/rootfs-overlay/usr/sbin/hassio-config b/buildroot-external/rootfs-overlay/usr/sbin/hassio-config index 6c58b31e7..6d959e1e6 100644 --- a/buildroot-external/rootfs-overlay/usr/sbin/hassio-config +++ b/buildroot-external/rootfs-overlay/usr/sbin/hassio-config @@ -15,6 +15,12 @@ mount -o ro LABEL="hassio-config" /mnt/config ## # SSH know hosts +if [ -f /mnt/config/known_hosts ]; then + echo "[Info] Update SSH known_hosts!" + + cp -f /mnt/config/known_hosts /root/.ssh/known_hosts + chmod 600 /root/.ssh/known_hosts +fi ## # Firmware update