mirror of
https://github.com/Monadical-SAS/cubbi.git
synced 2025-12-21 04:39:07 +00:00
fix(ssh): do not enable ssh automatically
This commit is contained in:
@@ -163,6 +163,7 @@ def create_session(
|
||||
gid: Optional[int] = typer.Option(
|
||||
None, "--gid", help="Group ID to run the container as (defaults to host user)"
|
||||
),
|
||||
ssh: bool = typer.Option(False, "--ssh", help="Start SSH server in the container"),
|
||||
) -> None:
|
||||
"""Create a new MC session
|
||||
|
||||
@@ -267,6 +268,7 @@ def create_session(
|
||||
run_command=run_command,
|
||||
uid=target_uid,
|
||||
gid=target_gid,
|
||||
ssh=ssh,
|
||||
)
|
||||
|
||||
if session:
|
||||
|
||||
Reference in New Issue
Block a user