cloudstack/scripts/util
Francisco Ewerton de Araujo Silva 9362ba8bd2
fix: Corrects the problems identified by Copilot:
* etcd download: use arch variable instead of hard-coded amd64
Replace hard-coded linux-amd64 in etcd tarball download URL and output filename with linux- to support both amd64 and arm64 architectures.

* container-selinux: install from distro repos instead of CentOS 7 mirror
Remove hard-coded CentOS 7 x86_64 RPM URL for container-selinux and install directly from the system's configured repositories, which handles architecture and version automatically.

* build_name: fix dead-code fallback default
Check whether parameter  is empty before constructing build_name, so the fallback default setup--.iso is actually reachable.

* CNI download: fail on HTTP errors for both URL attempts
Use curl -f on both primary and legacy CNI download URLs and exit with a clear error if neither succeeds, instead of only checking for 404 on the first attempt.

* temp directory: use mktemp and trap for cleanup
Replace fixed /tmp/iso with mktemp -d to avoid collisions between concurrent runs, and register a trap EXIT to ensure cleanup on failure or early exit.
2026-02-16 15:01:59 -03:00
..
create-kubernetes-binaries-iso-with-cilium.sh fix: Corrects the problems identified by Copilot: 2026-02-16 15:01:59 -03:00
create-kubernetes-binaries-iso.sh Add support for CSI driver in CKS (#11419) 2025-10-15 11:03:47 +05:30
ipmi.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
keystore-cert-import kvm: Fix for No VMs start after Renew Host Security Keys due to wrong qemu group reading (#11632) 2025-09-15 14:23:06 +02:00
keystore-setup Replace deprecated 'egrep' commands with 'grep -E'. (#12306) 2025-12-22 14:27:41 +01:00
macgen.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
migrate-dynamicroles.py packaging: Adding Centos8, Ubuntu 20.04, XCPNG8.1 Support (#4068) 2020-08-17 16:28:30 +05:30
prepare_linmin.sh pre-commit: add hook to trim trailing whitespace (#8205) 2024-05-28 09:01:30 +02:00
qemu-ifup packaging: Adding Centos8, Ubuntu 20.04, XCPNG8.1 Support (#4068) 2020-08-17 16:28:30 +05:30
qemu-ivs-ifup findbugs and PMD fixes 2015-04-15 11:30:04 +05:30