1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 15:24:32 +00:00

add a timeout in case a system-container refuses to quit

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-07-28 13:27:40 +10:00
parent 67d932d9f8
commit c8915d646d
6 changed files with 69 additions and 17 deletions

View File

@@ -132,6 +132,7 @@ type RancherConfig struct {
Sysctl map[string]string `yaml:"sysctl,omitempty"`
RestartServices []string `yaml:"restart_services,omitempty"`
HypervisorService bool `yaml:"hypervisor_service,omitempty"`
ShutdownTimeout int `yaml:"shutdown_timeout,omitempty"`
}
type UpgradeConfig struct {