Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / bin / | server ip : 172.67.156.115 your ip : 172.69.7.83 H O M E |
Filename | /usr/bin/landscape-sysinfo |
Size | 624 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:56 |
Last modified | 28-Mar-2014 22:55 |
Last accessed | 05-Jul-2025 16:51 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#! /usr/bin/python
import sys, os
try:
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 twisted.internet import reactor
from landscape.sysinfo.deployment import run
except ImportError:
# For some reasons the libraries are not importable for now. We are
# probably during an upgrade procedure, so let's exit, expecting the
# dependencies to be fixed at next run.
sys.exit(2)
if __name__ == "__main__":
run(sys.argv[1:], reactor)
import sys, os
try:
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 twisted.internet import reactor
from landscape.sysinfo.deployment import run
except ImportError:
# For some reasons the libraries are not importable for now. We are
# probably during an upgrade procedure, so let's exit, expecting the
# dependencies to be fixed at next run.
sys.exit(2)
if __name__ == "__main__":
run(sys.argv[1:], reactor)