cli: set needs_user_terminal for all ssh commands
This commit is contained in:
@@ -157,7 +157,7 @@ def generate_machine_hardware_info(opts: HardwareGenerateOptions) -> HardwareRep
|
||||
*config_command,
|
||||
],
|
||||
)
|
||||
out = run(cmd)
|
||||
out = run(cmd, needs_user_terminal=True)
|
||||
if out.returncode != 0:
|
||||
log.error(out)
|
||||
msg = f"Failed to inspect {opts.machine}. Address: {opts.target_host}"
|
||||
|
||||
Reference in New Issue
Block a user