Skip to content
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

Configuration only runs Recommended #4

Closed
mattdjerome opened this issue Mar 7, 2023 · 2 comments
Closed

Configuration only runs Recommended #4

mattdjerome opened this issue Mar 7, 2023 · 2 comments
Assignees

Comments

@mattdjerome
Copy link

When I run the script with $6 as false or true, only the recommended policyJSON will run.

Things I tried:

  1. Swapping lines 675 and 569
  2. setting line 413 to "Required"

Neither of those worked.

I then changed variable $6 default to "userInput" in line 37 and that pulled the showed the welcome dialog where i selected "required" and that ran as expected. Every other configuration ran the "recommended" configuration.

@mattdjerome mattdjerome added the bug Something isn't working label Mar 7, 2023
@dan-snelson dan-snelson removed the bug Something isn't working label Mar 7, 2023
@dan-snelson
Copy link
Collaborator

@mattdjerome:

Please see C. Review the default Welcome dialog, Video

Note: When welcomeDialog (Parameter 6) is set to video or false, the “catch-all” policyJSON will be used in the Setup Your Mac dialog.

* ) # Catch-all (i.e., used when `welcomeDialog` is set to `video` or `false`)
    policyJSON='
    {
        "steps": [
            {

@dan-snelson
Copy link
Collaborator

@mattdjerome:

You're invited to test-drive 1.8.1-rc3 which (hopefully) improves logging when welcomeDialog is video or false.

From the client-side logs:

Required

2023-03-07 18:42:29 - WELCOME DIALOG: # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 608 # # #
2023-03-07 18:42:29 - WELCOME DIALOG: PolicyJSON Configuration: Required

Recommended

2023-03-07 18:43:08 - WELCOME DIALOG: # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 608 # # #
2023-03-07 18:43:08 - WELCOME DIALOG: PolicyJSON Configuration: Recommended

Complete

2023-03-07 18:43:46 - WELCOME DIALOG: # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 608 # # #
2023-03-07 18:43:46 - WELCOME DIALOG: PolicyJSON Configuration: Complete

Catch-all (video)

2023-03-07 18:44:47 - WELCOME DIALOG: # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1938 # # #
2023-03-07 18:44:47 - WELCOME DIALOG: # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 608 # # #
2023-03-07 18:44:47 - WELCOME DIALOG: PolicyJSON Configuration: Catch-all (video)

Catch-all ('Welcome' dialog disabled)

2023-03-07 18:45:12 - WELCOME DIALOG: # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2120 # # #
2023-03-07 18:45:12 - WELCOME DIALOG: # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 608 # # #
2023-03-07 18:45:12 - WELCOME DIALOG: PolicyJSON Configuration: Catch-all ('Welcome' dialog disabled)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants