Skip to content

Commit

Permalink
fix Permission denied for 99-default.link (#1529)
Browse files Browse the repository at this point in the history
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
  • Loading branch information
dims authored Nov 25, 2023
1 parent fc8815c commit 8b87d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ if cat /etc/*release | grep "al2023" > /dev/null 2>&1; then
if yum list installed | grep amazon-ec2-net-utils; then sudo yum remove amazon-ec2-net-utils -y -q; fi

# Temporary fix for https://github.com/aws/amazon-vpc-cni-k8s/pull/2118
sed -i "s/^MACAddressPolicy=.*/MACAddressPolicy=none/" /usr/lib/systemd/network/99-default.link
sudo sed -i "s/^MACAddressPolicy=.*/MACAddressPolicy=none/" /usr/lib/systemd/network/99-default.link || true
else
# curl-minimal already exists in al2023 so install curl only on al2
sudo yum install -y curl
Expand Down

0 comments on commit 8b87d03

Please sign in to comment.