Fix reboot plugin not working in Illumos/Solaris (#48986)

This commit is contained in:
jpdasma 2018-11-29 22:54:51 +08:00 committed by Brian Coca
parent 8f9ced4005
commit 37f66ee15b

View file

@ -56,7 +56,7 @@ class ActionModule(ActionBase):
SHUTDOWN_COMMAND_ARGS = {
'linux': '-r {delay_min} "{message}"',
'freebsd': '-r +{delay_sec}s "{message}"',
'sunos': '-y -g {delay_sec} -r "{message}"',
'sunos': '-i 6 -y -g {delay_sec} "{message}"',
'darwin': '-r +{delay_min} "{message}"',
'openbsd': '-r +{delay_min} "{message}"',
}