Mercurial > code > home > repos > infra
comparison 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 |
comparison
equal
deleted
inserted
replaced
280:5c5c314051c5 | 281:957eb07e06e6 |
---|---|
11 ctx.run(cmd + 'pdm run -p .. setup_pi.py --init', pty=True) | 11 ctx.run(cmd + 'pdm run -p .. setup_pi.py --init', pty=True) |
12 | 12 |
13 @task | 13 @task |
14 def setup_pi(ctx, hostname, serial): | 14 def setup_pi(ctx, hostname, serial): |
15 ctx.run(cmd + f'pdm run -p .. setup_pi.py {hostname} {serial}', pty=True) | 15 ctx.run(cmd + f'pdm run -p .. setup_pi.py {hostname} {serial}', pty=True) |
16 | |
17 | |
18 @task | |
19 def iscsi(ctx, hostname): | |
20 ctx.run(cmd + f'pdm run -p .. setup_pi.py --iscsi {hostname}', pty=True) |