pass_typer: Also match "salt.sawtooth.claremontmakerspace.org" for cms-net-svcs
This commit is contained in:
parent
67bfff9811
commit
bb68fea1b4
@ -16,7 +16,7 @@ cmd = partial(subprocess.run, capture_output=True, encoding="ascii")
|
||||
|
||||
def alias(server_name):
|
||||
match server_name.rpartition("@"):
|
||||
case [user, at, "salt"]:
|
||||
case [user, at, ("salt" | "salt.sawtooth.claremontmakerspace.org")]:
|
||||
return f"cms/{user}{at}cms-net-svcs"
|
||||
case [user, at, ("iPad1" | "iPad2" | "iPad3")]:
|
||||
return f"cms/{user}{at}ipads"
|
||||
|
Loading…
Reference in New Issue
Block a user