Enables passing the autoinstall CLI to the server.
The server was prepared to receive this CLI option. TUI was not. When not in dry-run that option had no effect.
This commit is contained in:
parent
be9a064c0a
commit
c2b6be3cd3
|
@ -51,6 +51,7 @@ def make_client_args_parser():
|
|||
parser.add_argument('--socket')
|
||||
parser.add_argument('--answers')
|
||||
parser.add_argument('--server-pid')
|
||||
parser.add_argument('--autoinstall', action='store', dest='autoinstall')
|
||||
parser.add_argument('--prefill',
|
||||
dest='prefill',
|
||||
help='Prefills UI models with data provided in'
|
||||
|
@ -94,6 +95,9 @@ def main():
|
|||
if opts.prefill:
|
||||
server_args += ['--prefill='+opts.prefill]
|
||||
|
||||
if opts.autoinstall:
|
||||
server_args += ['--autoinstall='+opts.autoinstall]
|
||||
|
||||
os.makedirs(server_output_dir, exist_ok=True)
|
||||
server_stdout = open(os.path.join(server_output_dir, 'server-stdout'), 'w')
|
||||
server_stderr = open(os.path.join(server_output_dir, 'server-stderr'), 'w')
|
||||
|
|
Loading…
Reference in New Issue