This file is indexed.

/usr/bin/landscape-is-cloud-managed is in landscape-client 14.01-0ubuntu3.

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
 8
 9
10
11
12
#! /usr/bin/python
import sys, os
if os.path.dirname(os.path.abspath(sys.argv[0])) == os.path.abspath("scripts"):
    sys.path.insert(0, "./")
else:
    from landscape.lib.warning import hide_warnings
    hide_warnings()

from landscape.broker.registration import is_cloud_managed

# We return 0 if it succeeds
sys.exit(not is_cloud_managed())