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

0_installConfFsLogix.ps1 - causes multisession AIB builds to fail #43

Open
michael-novak-80 opened this issue Nov 3, 2022 · 0 comments

Comments

@michael-novak-80
Copy link

michael-novak-80 commented Nov 3, 2022

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.

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

1 participant