I would like to install several physical machines with PXE and cloud-init and then customize some stuff inside.

I've read the documentation and now I'm here :

  • install "PXE" server : OK (APPEND initrd=ISO/ubuntu20.04/casper/initrd autoinstall url= net.ifnames=0 biosdevname=0 ip=dhcp ipv6.disable=1 ds=nocloud-net;s=
  • customize install with user-data : OK
  • run post installation scripts or "push" some configuration files during installation : NOK

I can't find how to run some scripts or write some files : I tried the write_files directive but it didn't work. I read this page : https://ubuntu.com/server/docs/insta...tall-reference but I don't find the solution. I don't know how writing my user-data file, I think I misunderstood something

Can you help me please ?

Thanks a lot.