Skip to content

Commit

Permalink
fix/packages-missing
Browse files Browse the repository at this point in the history
  • Loading branch information
thamkrabok committed Sep 25, 2024
1 parent beba7f7 commit c6a4aad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions template/user_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A > key.tmp;
sudo rpm --import key.tmp; rm -f key.tmp
sudo wget https://rpmfind.net/linux/epel/8/Everything/x86_64/Packages/p/pkcs11-helper-1.22-7.el8.x86_64.rpm
sudo yum install pkcs11-helper-1.22-7.el8.x86_64.rpm
sudo rm -f pkcs11-helper-1.22-7.el8.x86_64.rpm
sudo yum -y install pritunl mongodb-org-5.0.9-1.amzn2

sudo sed -i.bak "s/\/var\/lib\/mongo/\/mnt\/efs/g" /etc/mongod.conf
Expand Down

0 comments on commit c6a4aad

Please sign in to comment.