Minor refactoring in shell.py
This commit is contained in:
parent
e5c1c548e4
commit
ca2878eb8d
@ -18,14 +18,14 @@ import sys
|
||||
|
||||
from cloudbaseinit import init
|
||||
from cloudbaseinit.openstack.common import cfg
|
||||
from cloudbaseinit.openstack.common import log as logging2
|
||||
from cloudbaseinit.openstack.common import log as logging
|
||||
|
||||
CONF = cfg.CONF
|
||||
LOG = logging2.getLogger(__name__)
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def main():
|
||||
CONF(sys.argv[1:])
|
||||
logging2.setup('cloudbaseinit')
|
||||
logging.setup('cloudbaseinit')
|
||||
|
||||
init.InitManager().configure_host()
|
||||
|
Loading…
Reference in New Issue
Block a user