Mercurial > code > home > repos > infra
diff pi-setup/tasks.py @ 281:957eb07e06e6
iscsi-mount mode, for inspecting the iscsi fs
author | drewp@bigasterisk.com |
---|---|
date | Mon, 15 Apr 2024 00:04:41 -0700 |
parents | 1cb4aeec8fc6 |
children | 3af02e24eaf9 |
line wrap: on
line diff
--- a/pi-setup/tasks.py Sun Apr 14 20:58:39 2024 -0700 +++ b/pi-setup/tasks.py Mon Apr 15 00:04:41 2024 -0700 @@ -12,4 +12,9 @@ @task def setup_pi(ctx, hostname, serial): - ctx.run(cmd + f'pdm run -p .. setup_pi.py {hostname} {serial}', pty=True) \ No newline at end of file + ctx.run(cmd + f'pdm run -p .. setup_pi.py {hostname} {serial}', pty=True) + + +@task +def iscsi(ctx, hostname): + ctx.run(cmd + f'pdm run -p .. setup_pi.py --iscsi {hostname}', pty=True) \ No newline at end of file