v1.0.13 has been released (in all US regions at least) with proper line endings for linux systems. Test deploys are running as expected.
VMAppExtension not running in Linux VMSS
Recently, VM App Extensions are not starting on VM scale set with Linux OS (Ubuntu 22_04-lts-gen2). It's failing with:
The handler for VM extension type 'Microsoft.CPlat.Core.VMApplicationManagerLinux' has reported terminal failure for VM extension 'VMAppExtension' with error message: '[ExtensionOperationError] Non-zero exit code: 127, /var/lib/waagent/Microsoft.CPlat.Core.VMApplicationManagerLinux-1.0.12/bin/install.sh [stdout] [stderr] /usr/bin/env: ‘bash\r’: No such file or directory '. 'Install handler failed for the extension. More information on troubleshooting is available at https://aka.ms/vmextensionlinuxtroubleshoot'
I tried to SSH to the VM and manually execute the script with the same error. When using dos2unix to convert line endings, script is not failing locally. Could there be some issue with the file format of the install.sh in the VMAppExtension?