Commit 1bacb16
committed
fix: Install Azure CLI via pip to avoid distutils error on RHEL 10
- Remove azure-cli from yum packages (causes distutils ModuleNotFoundError on RHEL 10)
- Install Azure CLI via pip3 with --break-system-packages flag
- Fixes "No module named 'distutils'" error in RHCOS image preparation
- RHEL 10 yum azure-cli package uses Python 3.6 which lacks distutils
- pip-installed azure-cli uses system Python 3.12 which works correctly1 parent 44bd809 commit 1bacb16
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments