Disable cli / otp reading for the moment
Imho this should clearly not leak into scripts/uncloud and additionally it is broken at the moment
This commit is contained in:
parent
b96e56b453
commit
22531a7459
2 changed files with 6 additions and 6 deletions
|
@ -26,7 +26,7 @@ ETCD_COMPONENTS = ['api', 'scheduler', 'host', 'filescanner',
|
||||||
'imagescanner', 'metadata', 'configure', 'hack']
|
'imagescanner', 'metadata', 'configure', 'hack']
|
||||||
|
|
||||||
ALL_COMPONENTS = ETCD_COMPONENTS.copy()
|
ALL_COMPONENTS = ETCD_COMPONENTS.copy()
|
||||||
ALL_COMPONENTS.append('cli')
|
#ALL_COMPONENTS.append('cli')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
@ -77,8 +77,8 @@ if __name__ == '__main__':
|
||||||
# we read from file. But, now we are asking user about where the config file lives. So,
|
# we read from file. But, now we are asking user about where the config file lives. So,
|
||||||
# to providing default value is not possible before parsing arguments. So, we are doing
|
# to providing default value is not possible before parsing arguments. So, we are doing
|
||||||
# it after..
|
# it after..
|
||||||
settings.settings = settings.Settings(arguments['conf_dir'], seed_value=etcd_arguments)
|
# settings.settings = settings.Settings(arguments['conf_dir'], seed_value=etcd_arguments)
|
||||||
resolve_otp_credentials(arguments)
|
# resolve_otp_credentials(arguments)
|
||||||
|
|
||||||
name = arguments.pop('command')
|
name = arguments.pop('command')
|
||||||
mod = importlib.import_module('uncloud.{}.main'.format(name))
|
mod = importlib.import_module('uncloud.{}.main'.format(name))
|
||||||
|
|
|
@ -5,6 +5,6 @@ arg_parser.add_argument('--create-vm')
|
||||||
|
|
||||||
|
|
||||||
def main(arguments):
|
def main(arguments):
|
||||||
print(arguments)!
|
print(arguments)
|
||||||
debug = arguments['debug']
|
#debug = arguments['debug']
|
||||||
port = arguments['port']
|
#port = arguments['port']
|
||||||
|
|
Loading…
Reference in a new issue