feat: install aznfs package on AzureLinux 3.0#8085
Conversation
There was a problem hiding this comment.
Pull request overview
Adds Azure Linux 3.0 support in the VHD build pipeline to install the aznfs NFS client package from packages.microsoft.com (PMC) by downloading and installing the Microsoft repo RPM, then installing aznfs. This fits into AgentBaker’s VHD builder + shared Linux provisioning script set by ensuring the dependency is present on Azure Linux 3.0 images.
Changes:
- Invoke
installAznfsPkgFromPMCduring Mariner/AzureLinux VHD dependency installation. - Add
installAznfsPkgFromPMCimplementation to the Mariner/AzureLinux install script. - Regenerate/refresh multiple
pkg/agent/testdata/**/CustomDatasnapshots.
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| vhdbuilder/packer/install-dependencies.sh | Calls installAznfsPkgFromPMC during Mariner/AzureLinux (non-OSGuard) VHD build setup. |
| parts/linux/cloud-init/artifacts/mariner/cse_install_mariner.sh | Introduces installAznfsPkgFromPMC to download/install Microsoft repo RPM and install aznfs on Azure Linux 3.0. |
| pkg/agent/testdata/Marinerv2+DisableUnattendedUpgrades=true/CustomData | Updated generated CustomData snapshot. |
| pkg/agent/testdata/Marinerv2+DisableUnattendedUpgrades=false/CustomData | Updated generated CustomData snapshot. |
| pkg/agent/testdata/MarinerV2+Kata/CustomData | Updated generated CustomData snapshot. |
| pkg/agent/testdata/MarinerV2+CustomCloud/CustomData | Updated generated CustomData snapshot. |
| pkg/agent/testdata/MarinerV2+CustomCloud+USSec/CustomData | Updated generated CustomData snapshot. |
| pkg/agent/testdata/MarinerV2+CustomCloud+USNat/CustomData | Updated generated CustomData snapshot. |
| pkg/agent/testdata/AzureLinuxv2+DisableUnattendedUpgrades=true/CustomData | Updated generated CustomData snapshot. |
| pkg/agent/testdata/AzureLinuxv2+DisableUnattendedUpgrades=false/CustomData | Updated generated CustomData snapshot. |
| pkg/agent/testdata/AzureLinuxV3+Kata/CustomData | Updated generated CustomData snapshot. |
| pkg/agent/testdata/AzureLinuxV2+Kata/CustomData | Updated generated CustomData snapshot. |
You can also share your feedback on Copilot code review. Take the survey.
parts/linux/cloud-init/artifacts/mariner/cse_install_mariner.sh
Outdated
Show resolved
Hide resolved
647ac4d to
6e493f1
Compare
6e493f1 to
0b36d79
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 18 changed files in this pull request and generated 4 comments.
You can also share your feedback on Copilot code review. Take the survey.
parts/linux/cloud-init/artifacts/mariner/cse_install_mariner.sh
Outdated
Show resolved
Hide resolved
parts/linux/cloud-init/artifacts/mariner/cse_install_mariner.sh
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 18 changed files in this pull request and generated 6 comments.
You can also share your feedback on Copilot code review. Take the survey.
dd49e9b to
0f0f6b4
Compare
What type of PR is this?
/kind feature
What this PR does / why we need it:
feat: install aznfs package on AzureLinux 3.0
Per aznfs-mount team's recommendation, we still need to download a rpm package from PMC site, and then use dnf to install aznfs package on Azure Linux 3.0, below are the working command lines:
Which issue(s) this PR fixes:
Fixes #
Requirements:
Special notes for your reviewer:
Release note: