mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
15c69058bb
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>
15 lines
318 B
Go
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,
|
|
}
|