Skip to content

Feature: Make wait time for reboot configurable #130

@Klaas-

Description

@Klaas-

Hi,
currently reboots are announced 10 minutes prior to the actual reboot happening:

REBOOT_BUFFER_IN_MINUTES = 15

self.minutes_to_shutdown = str((Constants.REBOOT_BUFFER_IN_MINUTES - 5) if (Constants.REBOOT_BUFFER_IN_MINUTES > 5) else Constants.REBOOT_BUFFER_IN_MINUTES) # give at least 5 minutes for a reboot unless the buffer is configured to be lower than that

I would like reboots to happen immediately, I do not need to warn users, ssh logins are rare on most of the servers I'd like to update. So this may be a good value to give into user control. It will also save a lot of time on the maintenance windows, My maintenance windows are usually 15-20 minutes duration, 10 minutes of that is reboot -- 20 minutes if there was a pending reboot when the maintenance window was started :)

Greetings
Klaas

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions