forked from sandia-minimega/minimega
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minimega/miniclient: add -namespace flag
Prepends the specified namespace to all -e and -attach commands. Because of how it's implemented, it prevents the -e or -attach command from changing the active namespace for more than the current command. Example usage: root# bin/minimega -namespace foo -e namespace namespace | vlans | active foo | | true minimega | 101-4096 | false root# bin/minimega -e namespace namespace | vlans | active foo | | false minimega | 101-4096 | true Also changes how we build commands from args to avoid errors when args have spaces. Fixes sandia-minimega#970
- Loading branch information
Showing
4 changed files
with
36 additions
and
22 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
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