Create automated usb

i have a client who needs to install rancher on several machines. currently he has to manual do the ros install to disk with a bootable rancheros usb. is there anyway to automate this. so he just has to boot the usb and it auto does the ros install and then on first boot run the docker run command to join rancher? this seems like something that should be simple to do, but i can’t find anything that even points in the right direction.

You don’t need to install RancherOS. You can boot the usb and run rancher-agent from it.

won’t work. needs to be installed on the disk. not to mention that still doesn’t automate anything just running it from a usb stick.

Boot via iPXE could be another option.