Add opts option
This commit is contained in:
parent
1975fd8d87
commit
baa600e4b3
|
@ -1,2 +1,3 @@
|
|||
config globals 'globals'
|
||||
option root '/data/k3s'
|
||||
option opts '--no-deploy'
|
||||
|
|
|
@ -22,7 +22,7 @@ ensure_cgroup_mount() {
|
|||
start() {
|
||||
ensure_cgroup_mount
|
||||
start-stop-daemon -S -b -x "$EXEC" -m -p "$PIDFILE" \
|
||||
-- server --no-deploy traefik \
|
||||
-- server $(uci_get k3s.globals.opts) --no-deploy traefik \
|
||||
--data-dir $(uci_get k3s.globals.root)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue