a
This commit is contained in:
parent
af521cf35c
commit
6066c28ef0
1 changed files with 1 additions and 1 deletions
|
@ -11,6 +11,6 @@ def ceph():
|
|||
@click.option("--ceph_url", required=True)
|
||||
@click.option("--ssh_username", required=True)
|
||||
def setup(ceph_url, ssh_username):
|
||||
os.makedirs("/etc/ceph")
|
||||
os.makedirs("/etc/ceph", exist_ok=True)
|
||||
command = f"sftp -b ./ceph_batch_cmd {ssh_username}@{ceph_url}:/etc/ceph"
|
||||
subprocess.check_output(command.split())
|
Loading…
Add table
Reference in a new issue