Does `fleetctl package` when run always packages ...
# fleet
m
Does
fleetctl package
when run always packages the latest osquery from the internet?
t
hi there, fleetctl package technically only builds an installer for Orbit (and potentially Fleet Desktop), osquery is downloaded from our autoupdate server. The version of osquery hosted there depends on what we have pushed. We try to always have the latest, but that's not always the case
m
@Tomas Touceda Hi, does that mean the endpoints need to have internet connectivity even to get osquery installed (and also for updates)?
t
correct. You could alternatively host your own autoupdates server (premium feature)
m
Got it. I always assumed hosting the server was not required atleast to get osquery (any version) for non-internet accessible systems.
t
you could disable auto updates and install osquery with a similar approach as you install orbit
z
That's not quite right. The system that builds the package needs internet access, but the system that installs the package does not. If there's no internet access there will be no updates, but it should still install and function properly. You can also just disable autoupdates.
👍 1
t
ah! thank you Zach for correcting me, TIL
apologies for the misinfo
m
So, to conclude, the
fleetctl package
command will contact fleetdm's server and get mostly the latest osquery from there and we can distribute it to local network? (context: I am trying to use the mentioned command every quarter to generate latest osquery to push to our local network)
z
Yes, that's right.
👍 1