Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
e13de5bd0d | |||
813b1519e4 |
@ -2,6 +2,7 @@ package agent
|
||||
|
||||
import (
|
||||
"forge.cadoles.com/Cadoles/emissary/internal/command/agent/openwrt"
|
||||
"forge.cadoles.com/Cadoles/emissary/internal/command/config"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
@ -11,6 +12,7 @@ func Root() *cli.Command {
|
||||
Usage: "Agent related commands",
|
||||
Subcommands: []*cli.Command{
|
||||
openwrt.Root(),
|
||||
config.Root(),
|
||||
RunCommand(),
|
||||
},
|
||||
}
|
||||
|
@ -1,4 +1,6 @@
|
||||
agent:
|
||||
serverUrl: http://127.0.0.1:3000
|
||||
privateKeyPath: /var/lib/emissary/agent-key.json
|
||||
reconciliationInterval: 5
|
||||
controllers:
|
||||
persistence:
|
||||
@ -6,10 +8,14 @@ agent:
|
||||
stateFile: /var/lib/emissary/state.json
|
||||
spec:
|
||||
enabled: true
|
||||
serverUrl: http://192.168.0.45:3000
|
||||
gateway:
|
||||
enabled: true
|
||||
uci:
|
||||
enabled: true
|
||||
binPath: uci
|
||||
configBackupFile: /var/lib/emissary/uci-backup.conf
|
||||
collectors:
|
||||
- name: uname
|
||||
command: uname
|
||||
args:
|
||||
- -a
|
||||
|
Reference in New Issue
Block a user