-
Notifications
You must be signed in to change notification settings - Fork 716
[FABC-905] Add passfile to server config file template #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -154,6 +154,8 @@ func (s *ServerCmd) registerFlags() { | |
| pflags.StringVarP(&s.homeDirectory, "home", "H", "", fmt.Sprintf("Server's home directory (default \"%s\")", filepath.Dir(cfg))) | ||
| util.FlagString(s.myViper, pflags, "boot", "b", "", | ||
| "The user:pass for bootstrap admin which is required to build default config file") | ||
| util.FlagString(s.myViper, pflags, "bootfile", "f", "", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Usage question here: when I try to specify a username and passfile, it complains because I haven't specified a password after a colon separator: While it isn't too difficult to add the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As we discussed, this was a design choice (trying to change as little as possible). The Another option as you suggested is to allow only
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @sykesm Any thoughts / opinions here? |
||
| "Password file for bootstrap admin which is required to build the default config file") | ||
|
|
||
| // Register flags for all tagged and exported fields in the config | ||
| s.cfg = &lib.ServerConfig{} | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.