For most vendors it is possible to do a firmware upgrade at initial boot/ZTP so that every switch that is added to the network will have a certain baseline of firmware and features that you can use in templates.
For Arista devices this is accomplished by pointing the DHCP options to a simple script instead of a plain text config file.
This is an example dhcp-init-script:
This script should be saved as "eos/dhcp-init-script" in the templates repository. Make sure eos/dhcp-init.j2 in the script matches your plain text initial config file.
After you commit and push this script, make sure that you restart the cnaas_httpd container so that it will refresh the templates.
You will also need to create a symlink for "EOS-stable.swi" pointing to some EOS version of your preference in the cnaas_httpd container:
Next you have to change in the dhcpd/dhcpd.conf file in the etc reposity, it should now point to dhcp-init-script instead of dhcp-init.j2:
And remember to also restart the cnaas_dhcpd container after you commit and push so that it will use the new dhcpd.config file.
Separate DHCP option?