arista-eosplus / ztpserver

Full service ZTP Server implementation for bootstrapping Arista EOS nodes
Other
70 stars 33 forks source link

install_image change image to reference filename provided by url attribute #406

Closed siguroot closed 7 months ago

siguroot commented 7 months ago

In order to preserve 64 bit filenames (and perhaps others in the future) provided by Arista, I would like to suggest we extract the filename from the url variable rather than assemble filename via version variable.

There is an operational risk in my opinion whereas someone performing a firmware upgrade after ztp has provisioned the switch. They will look at the filename and determine it is a 32bit image because it matches the name of the file provided by arista:

image

@Trailingslashes also has a take on this #405

OG issue -> #404