Fixes Swap Configuration
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user