summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2023-12-13 11:05:24 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-12-13 11:39:08 +0100
commit609ff0e19ece42b68ff80a3eb14086690bd35c25 (patch)
tree6703fa63c7af3d8e4a44361249750941fec5ce08 /ogcp/forms
parent069733b00eda6f3ced63df603ae21a58cc8f9907 (diff)
views: add select repo in import clients
Add, in import clients menu, a selector to select the repo to be associated with the clients about to import modify OG_CLIENT_DEFAULT_BOOT variable to be 'oglive'; 'pxe' is not a valid boot mode, and ogserver would return an error
Diffstat (limited to 'ogcp/forms')
-rw-r--r--ogcp/forms/action_forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index d98a00a..3d02f8a 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -127,6 +127,7 @@ class ClientDetailsForm(FlaskForm):
class ImportClientsForm(FlaskForm):
server = HiddenField()
room = SelectField(label=_l('Room'))
+ repo = SelectField(label=_l('Repository'))
dhcpd_conf = TextAreaField(label=_l('dhcpd configuration'))
import_btn = SubmitField(label=_l('Import'))