From c7528b5ba58be5ad9af140a0d81c555913eef1d1 Mon Sep 17 00:00:00 2001 From: Kausheel Kumar Date: Thu, 14 Nov 2019 03:36:55 +1100 Subject: [PATCH] Remove the ec2-net-utils package (#368) * Remove the ec2-net-utils package * Add code comment to describe the ec2-net-utils change --- install-worker.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-worker.sh b/install-worker.sh index 8f58c4c26..25acb7330 100644 --- a/install-worker.sh +++ b/install-worker.sh @@ -64,6 +64,9 @@ sudo yum install -y \ unzip \ wget +# Remove the ec2-net-utils package, if it's installed. This package interferes with the route setup on the instance. +if yum list installed | grep ec2-net-utils; then sudo yum remove ec2-net-utils -y -q; fi + ################################################################################ ### Time ####################################################################### ################################################################################