Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nivleshc/499614803ac07513c6ba5c71f6177e8e to your computer and use it in GitHub Desktop.
Save nivleshc/499614803ac07513c6ba5c71f6177e8e to your computer and use it in GitHub Desktop.
This gist contains the contents of customise_and_install_packages.sh from the blog-create-evergreen-golden-amis repository.
#!/bin/bash
set -ex
sudo yum update -y
sudo /usr/sbin/update-motd --disable
echo 'No unauthorized access permitted' | sudo tee /etc/motd
sudo rm /etc/issue
sudo ln -s /etc/motd /etc/issue
sudo yum install -y elinks screen
sudo yum install git -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment