Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added nfs-utils, and fix the way docker is installed #2

Closed
wants to merge 12 commits into from
3 changes: 2 additions & 1 deletion eks-worker-al2.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 2 additions & 0 deletions install-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ sudo yum update -y
sudo yum install -y \
aws-cfn-bootstrap \
conntrack \
nfs-utils \
curl \
socat \
unzip \
Expand Down Expand Up @@ -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

Expand Down