summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-10-10 17:10:00 +0300
committerDevaev Maxim <[email protected]>2020-10-10 17:10:00 +0300
commit51ac65d542e041c4f75f0428fe4e84a10ef1c356 (patch)
tree4701dae5495976e998baaa90ae726b14352e4b3a /kvmd/apps/__init__.py
parent6226e942d8e81c2551e9b848386e3ff702854664 (diff)
another dns fix
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index 42864dee..7cdaa53b 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -430,7 +430,7 @@ def _get_config_scheme() -> Dict:
"otgnet": {
"iface": {
- "net": Option("169.254.0.0/24", type=functools.partial(valid_net, v6=False)),
+ "net": Option("169.254.0.0/28", type=functools.partial(valid_net, v6=False)),
"ip_cmd": Option(["/usr/bin/ip"], type=valid_command),
},
@@ -445,7 +445,7 @@ def _get_config_scheme() -> Dict:
"post_start_cmd": Option([
"/usr/bin/systemd-run",
"--unit=kvmd-otgnet-dnsmasq",
- "dnsmasq",
+ "/usr/bin/dnsmasq",
"--interface={iface}",
"--port=0",
"--dhcp-range={dhcp_ip_begin},{dhcp_ip_end},24h",