add dnsmasq and example config for it
would be good to move more of this into a module, but that doesn't sit well with the (potential) ability to run more than one dnsmasq service, as modules are singletons
This commit is contained in:
parent
6f23a45696
commit
c320d0afc7
7 changed files with 175 additions and 3 deletions
|
@ -23,3 +23,9 @@ fi
|
|||
|
||||
../../scripts/run-qemu.sh --background foo.sock result/vmlinux result/squashfs
|
||||
nix-shell -p expect --run "expect getaddress.expect"
|
||||
|
||||
set -o pipefail
|
||||
response=$(nix-shell -p python3Packages.scapy --run 'python ./test-dhcp-service.py' )
|
||||
|
||||
echo "$response"
|
||||
echo "$response" | nix-shell -p jq --run "jq -e 'select((.router == \"192.168.19.1\") and (.server_id==\"192.168.19.1\"))'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue