mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
options to configure otg ethernet
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user