Skip to content

Commit

Permalink
Fix yq command to be compatible with yq v4
Browse files Browse the repository at this point in the history
Option -y is not available in yq version 4 that
is the one being installed
openshift-metal3#1620
  • Loading branch information
mnietoji committed Dec 19, 2023
1 parent d0bbf7d commit 4154f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 01_install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ esac
# during dnf upgrade
sudo dnf -y install jq
sudo python -m pip install yq
yq -iy '.[3].dnf.nobest = "true"' ${METAL3_DEV_ENV_PATH}/vm-setup/roles/packages_installation/tasks/centos_required_packages.yml
yq -i '.[3].dnf.nobest = "true"' ${METAL3_DEV_ENV_PATH}/vm-setup/roles/packages_installation/tasks/centos_required_packages.yml

GOARCH=$(uname -m)
if [[ $GOARCH == "aarch64" ]]; then
Expand Down

0 comments on commit 4154f48

Please sign in to comment.