/usr/sbin/maas-provision is in python-maas-provisioningserver 1.5.4+bzr2294-0ubuntu1.2.
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/python -m provisioningserver "$@"
|