diff options
author | Maxim Devaev <[email protected]> | 2021-08-11 17:00:30 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-08-11 17:00:30 +0300 |
commit | 647251647d2677e1329b5b926f7c6d0b3ba0b5c4 (patch) | |
tree | f9379b3ab369fee34b4c2f01e2d4961fb3c5ed93 /kvmd | |
parent | 0d9a4a446fbf0e1ef723977aef4e9e53f8948737 (diff) |
pikvm/pikvm#245: using sbin for some binaries
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/apps/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 08fc13ad..9da4c403 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -533,7 +533,7 @@ def _get_config_scheme() -> Dict: "allow_tcp": Option([], type=valid_ports_list), "allow_udp": Option([67], type=valid_ports_list), "forward_iface": Option("", type=valid_stripped_string), - "iptables_cmd": Option(["/usr/bin/iptables", "--wait=5"], type=valid_command), + "iptables_cmd": Option(["/usr/sbin/iptables", "--wait=5"], type=valid_command), }, "commands": { @@ -544,7 +544,7 @@ def _get_config_scheme() -> Dict: "post_start_cmd": Option([ "/usr/bin/systemd-run", "--unit=kvmd-otgnet-dnsmasq", - "/usr/bin/dnsmasq", + "/usr/sbin/dnsmasq", "--conf-file=/dev/null", "--pid-file", "--user=dnsmasq", |