fleet/orbit/pkg/update/options_linux.go
Michal Nicpon 15c69058bb
fix SELinux issue (#5335)
Install orbit to /opt instead of /var/lib. When installing to /var/lib,
the default selinux context of var_lib_t gets applied, which results in
an AVC error when running via systemd.

Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>
2022-05-02 12:18:59 -06:00

15 lines
318 B
Go

package update
import (
"github.com/theupdateframework/go-tuf/client"
)
var defaultOptions = Options{
RootDirectory: "/opt/orbit",
ServerURL: defaultURL,
RootKeys: defaultRootKeys,
LocalStore: client.MemoryLocalStore(),
InsecureTransport: false,
Targets: LinuxTargets,
}