One Hat Cyber Team
Your IP :
216.73.216.240
Server IP :
162.240.106.28
Server :
Linux server.ganesand.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
Server Software :
Apache
PHP Version :
7.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python2.7
/
site-packages
/
cloudinit
/
cmd
/
devel
/
View File Name :
__init__.py
# This file is part of cloud-init. See LICENSE file for license information. """Common cloud-init devel commandline utility functions.""" import logging from cloudinit import log from cloudinit.stages import Init def addLogHandlerCLI(logger, log_level): """Add a commandline logging handler to emit messages to stderr.""" formatter = logging.Formatter('%(levelname)s: %(message)s') log.setupBasicLogging(log_level, formatter=formatter) return logger def read_cfg_paths(): """Return a Paths object based on the system configuration on disk.""" init = Init(ds_deps=[]) init.read_cfg() return init.paths # vi: ts=4 expandtab