mirror of
https://github.com/rancher/os.git
synced 2025-08-31 22:32:14 +00:00
Add config option to disable sshd
This commit is contained in:
@@ -145,7 +145,8 @@ var schema = `{
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"keys": {"type": "object"}
|
||||
"keys": {"type": "object"},
|
||||
"disable": {"type": "boolean"}
|
||||
}
|
||||
},
|
||||
|
||||
|
@@ -175,7 +175,8 @@ type DockerConfig 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 {
|
||||
|
@@ -143,7 +143,8 @@
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"keys": {"type": "object"}
|
||||
"keys": {"type": "object"},
|
||||
"disable": {"type": "boolean"}
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user