Forgot to setup args

This commit is contained in:
Anton Hvornum 2019-11-29 15:09:54 +01:00
parent 56ad7efe84
commit 2d9606777f
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ harddrives = oDict()
commandlog = []
worker_history = oDict()
instructions = oDict()
args = {}
import logging
from systemd.journal import JournalHandler
@ -1122,7 +1123,7 @@ if __name__ == '__main__':
## Setup some defaults
# (in case no command-line parameters or netdeploy-params were given)
args = setup_args_defaults()
args = setup_args_defaults(args)
positionals = []
for arg in sys.argv[1:]:
if '--' == arg[:2]: