Hi,
I have see this :
https://ask.cloudbase.it/question/1036/windows-10-hostname-not-being-set/
but in my case it doesn't work.
I'm trying to deply a windows 10 (20H2) image. but the hostname is DESKTOP-xxxxx
I can see in the cloudbase-init-unattend.log : cloudbaseinit.utils.hostname [-] Setting hostname: myhostname
but when I first log on the vm, I can see that hostname is still DESKTOP-xxxx
I have verify in the unattend.xml, the cloudbase init execution is in the specialize step.