Closed rougegoat closed 1 year ago
@rougegoat:
First. thanks for all the excellent PRs; long-term, your additions are going to make SYM much more accessible for new Mac Admins.
Second, in testing 1.10.0-rc21
, looks like we don't currently have a way to disable User Name:
# These control which user input boxes are added to the first page of Setup Your Mac. If you do not want to ask about a value, set it to any other value
promptForAssetTag="false"
promptForRoom="false"
promptForComputerName="false"
prefillUsername="false"
moveableInProduction="false"
(As an example, for our internal use-case, we only prompt users for Asset Tag and Configuration.)
Please advise if you have cycles to submit (yet) another PR.
Thanks again.
-- Dan
As a Band-Aid, I've replaced the public 1.10.0-rc21
…
"textfield" : [
{ "title" : "User Name",
"required" : false,
"prompt" : "User Name"
'${usernamePrefil}'
}
'${compNameJSON}'
'${assetTagJSON}'
'${roomJSON}'
],
… with our internal:
"textfield" : [
{ "title" : "Asset Tag",
"required" : true,
"prompt" : "Please enter the seven-digit Asset Tag",
"regex" : "^(AP|IP|CD)?[0-9]{7,}$",
"regexerror" : "Please enter (at least) seven digits for the Asset Tag, optionally preceed by either AP, IP or CD."
}
],
Adjusted previous "promptFor_" toggles to line up with other toggles in the script Add a commented out option to disable Blur screen on production runs Added a handful of Branding overrides
Primary goal is to cut down on modifications needed by those adapting this script down the line.