I have Ubuntu 20.04 machine that I'm preparing for VDI environment. All the VDI VMs will be joined to our domain. By default, each user's Home Directory is created locally. On my NetApp storage I have a shared folder. My question is - Is it possible to configure that for each user that logs in, his Home Directory will be created on this shared folder in the NetApp? Can I set /home to be this shared folder for each AD user? My goal is to preserve the user's Home Directory regardless the machine he logs in to, otherwise he will lose his Home Directory on each login because the users are logs in to a different VM randomly each time. And my additional sub question is - Can I redirect to the same folder all the user's apps and packages he is installing?
I'm not familiar so much with Linux so I'll appreciate for you help.
Thank you.