Skip to content

Commit

Permalink
Merge pull request #6 from hazelops/feature/add-more-apps
Browse files Browse the repository at this point in the history
Added software to install script (CORE-291)
  • Loading branch information
kobrikx authored Feb 15, 2022
2 parents 1ae35db + 35887a8 commit 05e8ba9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ec2_user_data.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@ sudo apt update
# Install OpenVPN Connector setup tool
sudo apt install -y python3-openvpn-connector-setup

# Install more tools
sudo apt install -y mc gnupg unzip ca-certificates curl htop

# Install awscliv2
sudo curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
sudo unzip awscliv2.zip
sudo ./aws/install

# Install kubectl
sudo apt-get update && sudo apt-get install -y apt-transport-https
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
sudo apt-get install -y kubectl

# Enable IP forwarding
sudo sed -i 's/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/g' /etc/sysctl.conf
sudo sed -i 's/#net.ipv6.conf.all.forwarding=1/net.ipv6.conf.all.forwarding=1/g' /etc/sysctl.conf
Expand Down

0 comments on commit 05e8ba9

Please sign in to comment.