Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions parts/linux/cloud-init/artifacts/cse_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ installContainerRuntime() {
installFixedCNI() {
# Old versions of VHDs will not have components.json. If it does not exist, we will try our best to download the hardcoded version for CNI here during provisioning.
# Network Isolated Cluster / Bring Your Own ACR will not work with a vhd that requires a hardcoded CNI download.
if [ ! -f "$COMPONENTS_FILEPATH" ] || [ -z "$(jq -r '.Packages[] | select(.name == "containernetworking-plugins") | .name' < $COMPONENTS_FILEPATH)" ]; then
echo "WARNING: no containernetworking-plugins components present falling back to hard coded download of 1.4.1"
if [ ! -f "$COMPONENTS_FILEPATH" ] || [ -z "$(jq -r '.Packages[] | select(.name == "containernetworking-plugins" or .name == "cni-plugins") | .name' < $COMPONENTS_FILEPATH)" ]; then
echo "WARNING: no containernetworking-plugins or cni-plugins component present, falling back to hard coded download of 1.4.1"
# handles amd64 and arm64 via CPU_ARCH
if [ -z "${CPU_ARCH:-}" ]; then
CPU_ARCH="$(getCPUArch)"
Expand Down
Loading