/var/lib/cobbler/snippets/pre_anamon is in maas-provision-common 2.2.2-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 | #if $str($getVar('anamon_enabled','')) == "1"
wget -O /tmp/anamon "http://$server/cobbler/aux/anamon"
python /tmp/anamon --name "$name" --server "$server" --port "$http_port"
#end if
|