Skip to content

fix: quote --features arg for arm64 TL image definitions#8222

Merged
cameronmeissner merged 1 commit intomainfrom
aadagarwal/fix-quote-issue
Apr 7, 2026
Merged

fix: quote --features arg for arm64 TL image definitions#8222
cameronmeissner merged 1 commit intomainfrom
aadagarwal/fix-quote-issue

Conversation

@aadhar-agarwal
Copy link
Copy Markdown
Contributor

Inline az calls per branch instead of building a command string, which broke --features quoting for multi-value TrustedLaunch args.

Aligning with https://dev.azure.com/msazure/CloudNativeCompute/_git/aks-rp/pullrequest/15226615

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Inline az calls per branch instead of building a command string,
which broke --features quoting for multi-value TrustedLaunch args.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the SIG image-definition creation logic in the VHD builder to avoid constructing an az command string, fixing quoting/argument handling for multi-value --features (notably for ARM64 Trusted Launch definitions).

Changes:

  • Replaces TARGET_COMMAND_STRING concatenation with inline az sig image-definition create calls per conditional branch.
  • Ensances --features handling for ARM64 Trusted Launch by passing the intended multi-value features as a single argument.

Comment thread vhdbuilder/packer/produce-packer-settings-functions.sh
@cameronmeissner cameronmeissner merged commit bd1dc8e into main Apr 7, 2026
32 of 35 checks passed
@cameronmeissner cameronmeissner deleted the aadagarwal/fix-quote-issue branch April 7, 2026 21:02
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

Successfully merging this pull request may close these issues.

3 participants