This repository has been archived by the owner on Jul 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve and unify server operations in CLI (#2040)
This affects commands: 1. iml server add 2. iml server remove 3. iml server force-remove All of them now use multiple (one and more) hostlist expressions, for example: iml server remove mds[1,2].local c1.local iml server add -p stratagem_client c1.local Signed-off-by: Igor Pashev <[email protected]>
- Loading branch information
Showing
3 changed files
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
iml server add --hosts mds[1,2].local,oss[1,2].local --profile $1 | ||
iml server add --profile $1 mds[1,2].local oss[1,2].local |