From db68dcea4660c0cbac22432b1564a494224969bf Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Fri, 7 Jul 2023 13:22:23 +0200 Subject: ogcp: add backup boolean field in image update User can use this boolean field to specify if an backup copy needs to be created before updating an image. This only applies when sending a request to a client (ogClient) supporting this parameter. --- ogcp/forms/action_forms.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ogcp/forms/action_forms.py') diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index d1789a7..75ec674 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -152,6 +152,7 @@ class ImageUpdateForm(FlaskForm): ip = HiddenField() os = SelectField(label=_l('Partition'), choices=[]) image = SelectField(label=_l('Image'), choices=[]) + backup = BooleanField(label=_l('Backup')) update = SubmitField(label=_l('Update')) -- cgit v1.2.3-18-g5258