mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-12-23 04:25:04 +01:00
Implemented creation of swap partition
This commit is contained in:
parent
7e691ad4d0
commit
5d1a9ae1ed
@ -10,6 +10,12 @@ echo "Copying templates to home folder..."
|
||||
cp -rfv "$TEMPLATE_PATH/." "$HOME"
|
||||
echo "Synchronising packages..."
|
||||
sudo pacman -Syyu
|
||||
echo "Creating swap partition..."
|
||||
sudo fallocate -l 16G /swapfile
|
||||
sudo chmod 600 /swapfile
|
||||
sudo mkswap /swapfile
|
||||
sudo swapon /swapfile
|
||||
sudo echo "/swapfile none swap defaults 0 0">/etc/fstab
|
||||
echo "Synchronizing programing language interpreters..."
|
||||
sudo pacman --needed -S jdk11-openjdk python php
|
||||
echo "Synchronizing compression tools..."
|
||||
|
Loading…
Reference in New Issue
Block a user