forked from microsoft/hcsshim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update WCOW uvmboot command to work, and make functionality more inline with LCOW's. Specifically, add the `fwd-std*` and `output-handling` flags, and share them, along with the `exec` flag definition, between the two. Add a `no-cmd` flag to skip prepending `cmd /c` to the exec command and allow passing in a command line exactly. Fix naming conflicts, where `c` was either a `*cli.Context` or `*cmd.Cmd`, the former is now consistently `cCtx` (which matches usage elsewhere). Rename `cmd` variables to prevent overshadowing module import. Replace global variables with calls to `cCtx.*` flag-access functions to avoid global (mutatable) state. Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
- Loading branch information
Showing
3 changed files
with
261 additions
and
188 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
Oops, something went wrong.