After creating master image create workflow with these steps:
1:
restore HDD from MacBookAir2017.hfs.dmg disk image.
2:
Rename computer:
3:
Prompt for computer name during setup
4:
auto join computer to MS Active Directory.
5:
auto join computer to Open Directory Server.