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:
parent
765a7c3ed4
commit
6f33622a12
@ -145,7 +145,8 @@ var schema = `{
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"keys": {"type": "object"}
|
"keys": {"type": "object"},
|
||||||
|
"disable": {"type": "boolean"}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
@ -143,7 +143,8 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"keys": {"type": "object"}
|
"keys": {"type": "object"},
|
||||||
|
"disable": {"type": "boolean"}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user