I do it with an answerfile with a clonezilla image. Simple and works.
Homelab
Rules
- Be Civil.
- Post about your homelab, discussion of your homelab, questions you may have, or general discussion about transition your skill from the homelab to the workplace.
- No memes or potato images.
- We love detailed homelab builds, especially network diagrams!
- Report any posts that you feel should be brought to our attention.
- Please no shitposting or blogspam.
- No Referral Linking.
- Keep piracy discussion off of this community
I also use the autounattended answer file but my point is I still have to create a user and wait for the post install scripts to complete upon first logon
Are you talking about bare metal or virtual machines?
Bare Metal I used Microsoft SCCM. It’s a pain to manage but when it works right you can easily use Task Sequences to deploy images with PXE boot.
I also had a previous install of Dell Open Enterprise Manager.
VMs, anything like Terraform and Ansible will work to deploy an image.
User creation is always a separate process from system deployment. I know of nothing that can do both at the same time.
Deploy via sccm/mdt and create the AD user.
You could have a script that you run separately that creates the AD user. This is what I do. Just feed it a csv file.
Though your question merits further research.
Do I inject the csv file into the image like I would a script? Will the csv file be read immediately after the answer file? AFAIK the answer file is always read first