diff --git a/eks-worker-al2.json b/eks-worker-al2.json index 5543a3d3b..70ef8bdb1 100644 --- a/eks-worker-al2.json +++ b/eks-worker-al2.json @@ -6,7 +6,8 @@ "binary_bucket_region": "us-west-2", "binary_bucket_path": "1.10.3/2018-06-05/bin/linux/amd64", "creator": "{{env `USER`}}", - "instance_type": "m4.large" + "instance_type": "m4.large", + "source_ami_id": "" }, "builders": [ diff --git a/install-worker.sh b/install-worker.sh index 8bc18703e..cb5db2940 100644 --- a/install-worker.sh +++ b/install-worker.sh @@ -19,7 +19,8 @@ sudo yum install -y \ curl \ socat \ unzip \ - wget + wget \ + nfs-utils curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" sudo python get-pip.py @@ -44,6 +45,7 @@ sudo systemctl enable iptables-restore ################################################################################ sudo yum install -y yum-utils device-mapper-persistent-data lvm2 +sudo amazon-linux-extras enable docker sudo yum install -y docker sudo usermod -aG docker $USER