Forgot to setup args
This commit is contained in:
parent
56ad7efe84
commit
2d9606777f
|
|
@ -28,6 +28,7 @@ harddrives = oDict()
|
||||||
commandlog = []
|
commandlog = []
|
||||||
worker_history = oDict()
|
worker_history = oDict()
|
||||||
instructions = oDict()
|
instructions = oDict()
|
||||||
|
args = {}
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from systemd.journal import JournalHandler
|
from systemd.journal import JournalHandler
|
||||||
|
|
@ -1122,7 +1123,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
## Setup some defaults
|
## Setup some defaults
|
||||||
# (in case no command-line parameters or netdeploy-params were given)
|
# (in case no command-line parameters or netdeploy-params were given)
|
||||||
args = setup_args_defaults()
|
args = setup_args_defaults(args)
|
||||||
positionals = []
|
positionals = []
|
||||||
for arg in sys.argv[1:]:
|
for arg in sys.argv[1:]:
|
||||||
if '--' == arg[:2]:
|
if '--' == arg[:2]:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue