Azure / Azure/azvmimagebuilder
0_installConfFsLogix.ps1 - causes multisession AIB builds to fail
- Dominant language
- PowerShell
- Stars
- 111
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
Pasting from original repository @ladtohelp
There seems to be an issue with this script whereby multisession images fail to complete the imaging process.
I have worked around by editing this template https://raw.githubusercontent.com/azure/azvmimagebuilder/master/solutions/14_Building_Images_WVD/armTemplateWVD.json by adding
"validExitCodes": [0,267014],
to the installFsLogix json block
I can confirm this, we've run into the same problem when deploying latest AVD multisession image template
Actual packer step that is failing is:
[INFO] command 'powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-6363c307-fc28-5c5a-e58f-ce705e0ef871.ps1"' exited with code: 267014
When commented out, the process continues, but fails again at Teams installation:
[INFO] command 'powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-6363f1b4-f148-b687-5f9d-26d01ce19481.ps1"' exited with code: 16001
When Teams installation script is removed from json, the process completes successfully.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.