Here’s a video showing the installation of a 10 speed cassette on an 11 speed trainer hub. The same ~1.85mm spacer that adjusts for 10 speed cassettes will also work for 8 speed cassettes (“Simply put - 8, 9, 10 speed cassettes all fit on the same hub”; 7 speed cassettes require a little more adjustment.)