summaryrefslogtreecommitdiffstats
path: root/ogcp
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp')
-rw-r--r--ogcp/forms/action_forms.py2
-rw-r--r--ogcp/views.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py
index fe5280e..4a18738 100644
--- a/ogcp/forms/action_forms.py
+++ b/ogcp/forms/action_forms.py
@@ -113,8 +113,6 @@ class ClientDetailsForm(FlaskForm):
choices=[('eth0', 'eth0'),
('eth1', 'eth1'),
('eth2', 'eth2')])
- netdriver = SelectField(label=_l('Driver'),
- choices=[('generic', 'generic')])
repo = SelectField(label=_l('Repository'),
choices=[(1, 'Default')])
room = SelectField(label=_l('Room'))
diff --git a/ogcp/views.py b/ogcp/views.py
index 2d5e6d0..18a107c 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -865,7 +865,7 @@ def action_client_add():
"mac": form.mac.data,
"maintenance": form.maintenance.data,
"name": form.name.data,
- "netdriver": form.netdriver.data,
+ "netdriver": "generic",
"netiface": form.netiface.data,
"netmask": form.netmask.data,
"remote": form.remote.data,