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

feat: add build parameter for AzureLinuxV3 CVM Gen2 in VHD builder pi… #5755

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

pineapplethevoyager
Copy link
Collaborator

@pineapplethevoyager pineapplethevoyager commented Feb 5, 2025

What type of PR is this?
add build parameter for AzureLinuxV3 CVM Gen2 in VHD builder pipeline

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Requirements:

Special notes for your reviewer:

Release note:

none

@@ -36,7 +36,7 @@ capture_benchmark "${SCRIPT_NAME}_declare_variables_and_source_packer_files"
echo "Logging the kernel after purge and reinstall + reboot: $(uname -r)"
# fix grub issue with cvm by reinstalling before other deps
# other VHDs use grub-pc, not grub-efi
if [[ "${UBUNTU_RELEASE}" == "20.04" && "$IMG_SKU" == "20_04-lts-cvm" ]] || [[ "${UBUNTU_RELEASE}" == "24.04" && "$IMG_SKU" == "cvm" ]]; then
if [ "${OS_TYPE}" == "Ubuntu" ] && grep -q "cvm" <<< "$FEATURE_FLAGS"; then
Copy link
Collaborator

@zachary-bailey zachary-bailey Feb 11, 2025

Choose a reason for hiding this comment

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

This should check OS_SKU, OS_TYPE will be either Linux or Windows

- name: buildAzureLinuxV3cvmgen2
displayName: Build AzureLinuxV3 CVM Gen2
type: boolean
default: true
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be true from the start?

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