1. Do a normal install, boot up the system and enable ssh access.
  2. Create the file /storage/.config/systemd/storage-kodi.mount with the following contents:

    [Unit]
    Description=Kodi NFS Storage
    Requires=network-online.service
    After=network-online.service
    Before=kodi.service
    [Mount]
    What=192.168.1.3:/export/openelec/kodi
    Where=/storage/kodi
    Options=udp,nolock
    Type=nfs
    [Install]
    WantedBy=multi-user.target
    

  3. Enable the job

    systemctl enable storage-kodi.mount

  4. Stop the current running Kodi

    systemctl stop kodi

  5. Mount and move current data, then create symlink

    mkdir /storage/kodi
    mount -t nfs 192.168.1.3:/export/openelec/kodi /storage/kodi
    cp -vr /storage/.kodi/* /storage/kodi/
    rm -rf /storage/.kodi
    ln -sf /storage/kodi /storage/.kodi
    

  6. Start Kodi

    systemctl start kodi