Close #326: Implement command to retrieve and set configuration values (#359)

* Implement command to retrieve and set configuration values
* qemu: show advice to use "pmbootstrap config"
* Allow "pmbootstrap config" without positional arguments (prints the full config)
* Check valid variable names
This commit is contained in:
Pablo Castellano 2017-08-14 16:25:28 +02:00 committed by Oliver Smith
parent ab1bcd2e6f
commit 401c29af76
4 changed files with 34 additions and 1 deletions

View file

@ -101,3 +101,8 @@ def init(args):
log_handler._args = args
handler.setFormatter(formatter)
root_logger.addHandler(handler)
def disable():
logger = logging.getLogger()
logger.disabled = True