Fixes Swap Configuration

This commit is contained in:
2023-10-24 23:57:38 -03:00
parent 7cf314ea64
commit ea499c3977
2 changed files with 8 additions and 7 deletions

View File

@@ -1,12 +1,5 @@
#!/bin/bash
# Setting up swap space
fallocate -l 2G /swapfile
mkswap /swapfile
chmod 600 /swapfile
swapon /swapfile
# Configuring ssh keys
echo -e "${extra_key}" >> /home/ubuntu/.ssh/authorized_keys;
echo -e "${terraform_key}" >> /home/ubuntu/.ssh/authorized_keys;