summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2024-01-15 10:11:20 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-01-15 10:23:05 +0100
commitd075cdd0034559d378b118c578f650397912111e (patch)
treeca22b298f743f1a5f1837c7fba83652eb14721b3 /ogcp/forms
parent04fe9e836746144a597d270db16142046f1b69b3 (diff)
forms: Remove netiface from client's form
Remove netiface selectable in clientsDetails form. eth{0,1,2} is misleading, it does not represent the real device in the client. And users we know always boot from the first device. Hide this feature until there is a better design for this.
Diffstat (limited to 'ogcp/forms')
-rw-r--r--ogcp/forms/action_forms.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index ed9825a..3c53d0c 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -123,10 +123,6 @@ class ClientDetailsForm(FlaskForm):
choices=[('ogLive', 'Default'),])
remote = BooleanField(label=_l('Remote'))
maintenance = BooleanField(label=_l('Maintenance'))
- netiface = SelectField(label=_l('Interface'),
- choices=[('eth0', 'eth0'),
- ('eth1', 'eth1'),
- ('eth2', 'eth2')])
repo = SelectField(label=_l('Repository'))
room = SelectField(label=_l('Room'))
folder_id = HiddenField()