Unattended install: Added the ability to set the telemetry level (#20249)

* Added the ability to set the telemetry level for an unattended install

Added 'UnattendedTelemetryLevel' to 'UnattendedSettings'

Renamed 'CreateUnattendedUserNotificationHandler' to 'PostUnattendedInstallNotificationHandler'

Set the telemetry level in the unattended install notification handler

* Add DefaultValue attribute to 'UnattendedTelemetryLevel'

* Added UnattendedTelemetryLevel to template.

* Updated cli and ide hosts.

---------

Co-authored-by: Andy Butland <abutland73@gmail.com>
This commit is contained in:
Mitchel
2025-09-29 15:07:30 +00:00
committed by GitHub
parent 81f29be53b
commit ac6b205e7f
7 changed files with 59 additions and 9 deletions

View File

@@ -35,7 +35,8 @@
"InstallUnattended": true,
"UnattendedUserName": "UNATTENDED_USER_NAME_FROM_TEMPLATE",
"UnattendedUserEmail": "UNATTENDED_USER_EMAIL_FROM_TEMPLATE",
"UnattendedUserPassword": "UNATTENDED_USER_PASSWORD_FROM_TEMPLATE"
"UnattendedUserPassword": "UNATTENDED_USER_PASSWORD_FROM_TEMPLATE",
"UnattendedTelemetryLevel": "UNATTENDED_TELEMETRY_LEVEL_FROM_TEMPLATE"
},
//#endif
"Content": {