If I’m a renter and don’t want the LL to sell the house out from underneath me, a two-year lease isn’t all that bad.
Lots of LLs who purchased in the last couple of years will find themselves really wanting or needing to sell in the next two years.
Ask to put something in the lease to make it have some “teeth” for you as well – like if they want to break the lease to sell it, they owe you a month’s rent and moving expenses.