1
0
mirror of https://github.com/rancher/os.git synced 2025-08-11 03:22:49 +00:00

Add config option to disable sshd

This commit is contained in:
Josh Curl 2017-01-09 21:16:55 -08:00 committed by Sven Dowideit
parent 765a7c3ed4
commit 6f33622a12
3 changed files with 6 additions and 3 deletions

View File

@ -145,7 +145,8 @@ var schema = `{
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"keys": {"type": "object"} "keys": {"type": "object"},
"disable": {"type": "boolean"}
} }
}, },

View File

@ -175,7 +175,8 @@ type DockerConfig struct {
} }
type SSHConfig struct { type SSHConfig struct {
Keys map[string]string `yaml:"keys,omitempty"` Keys map[string]string `yaml:"keys,omitempty"`
Disable bool `yaml:"disable,omitempty"`
} }
type StateConfig struct { type StateConfig struct {

View File

@ -143,7 +143,8 @@
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"keys": {"type": "object"} "keys": {"type": "object"},
"disable": {"type": "boolean"}
} }
}, },