/usr/sbin/maas-probe-dhcp is in maas-rack-controller 2.0.0~beta3+bzr4941-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | #!/bin/sh
if [ "$(id -u)" != "0" ]; then
echo "This utility may only be run as root." 1>&2
exit 1
fi
export PYTHONPATH="/usr/share/maas${PYTHONPATH:+:}${PYTHONPATH}"
exec /usr/bin/python3 -m provisioningserver.dhcp.probe "$@"
|