mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-10 03:16:07 +08:00
Declarative Management hand-off (#882)
This commit is contained in:
@@ -125,6 +125,7 @@ func serve(args []string) error {
|
||||
flValidateSCEPExpiration = flagset.Bool("validate-scep-expiration", env.Bool("MICROMDM_VALIDATE_SCEP_EXPIRATION", false), "validate that the SCEP certificate is still valid")
|
||||
flPrintArgs = flagset.Bool("print-flags", false, "Print all flags and their values")
|
||||
flQueue = flagset.String("queue", env.String("MICROMDM_QUEUE", "builtin"), "command queue type")
|
||||
flDMURL = flagset.String("dm", env.String("DM", ""), "URL to send Declarative Management requests to")
|
||||
)
|
||||
flagset.Usage = usageFor(flagset, "micromdm serve [flags]")
|
||||
if err := flagset.Parse(args); err != nil {
|
||||
@@ -177,6 +178,7 @@ func serve(args []string) error {
|
||||
|
||||
SCEPClientValidity: *flSCEPClientValidity,
|
||||
Queue: *flQueue,
|
||||
DMURL: *flDMURL,
|
||||
}
|
||||
if !sm.UseDynSCEPChallenge {
|
||||
// TODO: we have a static SCEP challenge password here to prevent
|
||||
|
||||
Reference in New Issue
Block a user