This file is indexed.

/var/lib/cobbler/snippets/cobbler_register is in cobbler-common 2.4.1-0ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Begin cobbler registration
#if $getVar('system_name','') == ''
#if $str($getVar('register_new_installs','')) in [ "1", "true", "yes", "y" ]
if [ -f "/usr/bin/cobbler-register" ]; then
    cobbler-register --server=$server --fqdn '*AUTO*' --profile=$profile_name --batch
fi
#else
# cobbler registration is disabled in /etc/cobbler/settings
#end if
#else
# skipping for system-based installation
#end if
# End cobbler registration