summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index 5a2b5244..a760d188 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -387,6 +387,12 @@ def _get_config_scheme() -> Dict:
"enabled": Option(False, type=valid_bool),
},
+ "ethernet": {
+ "enabled": Option(False, type=valid_bool),
+ "host_mac": Option("", type=valid_mac, only_if="enabled"),
+ "kvm_mac": Option("", type=valid_mac, only_if="enabled"),
+ },
+
"drives": {
"enabled": Option(False, type=valid_bool),
"count": Option(1, type=valid_int_f1),