https://github.com/osquery/osquery logo
#fleet
Title
# fleet
w

wkleinhenz

10/17/2021, 8:09 PM
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

Tomas Touceda

10/18/2021, 11:04 AM
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

wkleinhenz

10/18/2021, 1:04 PM
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

Tomas Touceda

10/18/2021, 2:42 PM
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

wkleinhenz

10/18/2021, 2:51 PM
once the template is made the VM is cloned from it
t

Tomas Touceda

10/18/2021, 2:56 PM
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

wkleinhenz

10/18/2021, 2:58 PM
ah ok cool, ill give it a shot thanks
👍 1
2 Views