OSTREE-FIND-REMOTES(1)
π NAME π
okay bestie, this is ostree-find-remotes (aka ostree find-remotes, section 1, straight from the OSTree manual) and it's here to find remotes to serve the given refs. that's the whole name, no cap. π
π SYNOPSIS π
ostree find-remotes [OPTIONS...] {COLLECTION-ID} {REF}
[COLLECTION-ID REF...]
π¦ DESCRIPTION π¦
so here's the vibe: OSTree can pull not just from the configured remote servers, but also from peer computers on the LAN and from mounted filesystems such as USB drives. iconic behavior, honestly. this functionality requires the use of collection IDs and GPG verification. periodt.
the find-remotes command searches for remotes which claim to provide one or more of the given COLLECTION-ID REF pairs and prints information about them, with remotes sorted by latency (Mounts > LAN > Internet). lowkey the order matters. by default, OSTree searches for remotes in configuration files, on mounted filesystems (in a well-known location), and on the LAN using Avahi. yes bestie, all three.
β οΈ searching for LAN remotes requires OSTree to have been compiled with Avahi support, and it requires an Avahi daemon to be running. no daemon, no LAN magic. π
you can override the default set of finders (sources for remotes) using the --finders option documented below. very choose-your-own-adventure. β¨
the create-usb command is the recommended way to put refs on a USB such that find-remotes will discover them. see ostree-create-usb(1). π«Ά
π OPTIONS π
--cache-dir=DIRβ use an alternate cache directory in DIR.--disable-fsyncβ do not invokefsync().--finders=FINDERSβ use the specified comma separated list of finders rather than the default set. Possible values:config,lan, andmount(or any combination thereof).--pullβ pull the most recent commit found for each ref.--mirrorβ do a mirror pull (see the documentation forostree pull --mirror). this option can only be used in combination with--pull.
π EXAMPLE π
$ ostree find-remotes --finders=mount,lan com.exampleos.Os
exampleos/x86_64/standard
Result 0: http://10.0.64.202:43381/0
- Finder: OstreeRepoFinderAvahi
- Keyring: exampleos.trustedkeys.gpg
- Priority: 60
- Summary last modified: 2018-01-12T19:00:28Z
- Refs:
- (com.exampleos.Os, exampleos/x86_64/standard) = c91acd964b3fda561b87bfb7f7c80e36220d76b567f0ce90c0e60742ef33c360
1/1 refs were found.
π source/version: OSTree Β· date: not listed on this page Β· that's the whole manual, bye bestie and go find those remotes! π«Άβ¨
π¦ where this page comes from
- arch rolling: ostree 2026.6-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms