Doing some clean up work on my vm builds and i was...
# fleet
w
Doing some clean up work on my vm builds and i was wondering if it was possible/recommended to install launcher as part of my template build, will there be any issues with registration or identification on the server side
t
hi, could you explain a bit more detail on what you are trying to accomplish? are you concerned with ending up with a set of clones of the same host instead of different hosts? if that's the case, it depends how that template is used, if you end up cloning 1-1 a database image, then that could happen, but I believe there's a way to get around it
w
sure so i have a packer job that builds vm templates, it uses a series of ansible playbooks to install required agents, the goal is that the when deployed it looks like a new host to Fleet.
t
once the template is created, do you clone the resulting vm image? or does this template install everything every time a vm is created?
w
once the template is made the VM is cloned from it
t
gotcha, thank you for the explanation. If you want to preinstall osquery and clone from there, you should make sure to use --osquery_host_identifier as 
uuid
so all hosts get their unique identifier as they run
w
ah ok cool, ill give it a shot thanks
👍 1