cli: set needs_user_terminal for all ssh commands

This commit is contained in:
DavHau
2024-10-23 19:40:31 +07:00
parent 9aa69cf28e
commit db0fdba384
6 changed files with 14 additions and 4 deletions

View File

@@ -154,7 +154,7 @@ def show_block_devices(options: BlockDeviceOptions) -> Blockdevices:
"PATH,NAME,RM,SIZE,RO,MOUNTPOINTS,TYPE,ID-LINK",
],
)
proc = run_no_stdout(cmd)
proc = run_no_stdout(cmd, needs_user_terminal=True)
res = proc.stdout.strip()
blk_info: dict[str, Any] = json.loads(res)