From c6349c940020d8d346cd68cba24d887a7ac7bcbb Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Fri, 11 Feb 2022 18:11:31 +0100 Subject: [PATCH] F #5422: Reformat leases in Sunstone conf (#1769) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tino Vázquez --- .../etc/sunstone/sunstone-server.conf | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/src/fireedge/etc/sunstone/sunstone-server.conf b/src/fireedge/etc/sunstone/sunstone-server.conf index 4d2e821c51..46749d4a75 100644 --- a/src/fireedge/etc/sunstone/sunstone-server.conf +++ b/src/fireedge/etc/sunstone/sunstone-server.conf @@ -8,6 +8,20 @@ sunstone_prepend: '' support_url: 'https://opennebula.zendesk.com/api/v2' support_token: '' +# This automatically adds scheduling actions +# +# Allowed periods: years, months, weeks, days, hours, minutes +# eg: execute_after_minutes: 30 +# +# edit: allows to edit the form +# execute_after_weeks: days to execute the action +# warn_before_days: alert a time before the action (in days) +leases: + terminate: + edit: false + execute_after_weeks: 2 + warn_before_days: 1 + # Support filesystem # You may want to update SUPPORTED_FS in datastore.conf supported_fs: @@ -16,16 +30,3 @@ supported_fs: - ext2 - xfs -# this automatically adds scheduling actions -# edit: allows to edit the form -# execute_after_days: days to execute the action -# warn_before_days: alert a time before the action (in days) -leases: - poweroff: - edit: false - execute_after_days: 4 - warn_before_days: 1 - poweroff_hard: - edit: false - execute_after_days: 5 - warn_before_days: 5