enable zram in the debian rootfs
This commit is contained in:
parent
d358d56b3e
commit
5990ca5df2
|
@ -0,0 +1,2 @@
|
||||||
|
zram
|
||||||
|
lzo
|
|
@ -29,7 +29,13 @@ apt-get upgrade -y
|
||||||
systemctl enable kill-frecon.service
|
systemctl enable kill-frecon.service
|
||||||
|
|
||||||
#install desktop
|
#install desktop
|
||||||
apt-get install -y task-xfce-desktop cloud-utils
|
apt-get install -y task-xfce-desktop cloud-utils zram-tools
|
||||||
|
|
||||||
|
#set up zram
|
||||||
|
tee -a /etc/default/zramswap << END
|
||||||
|
ALGO=lzo
|
||||||
|
PERCENT=50
|
||||||
|
END
|
||||||
|
|
||||||
#set up hostname and username
|
#set up hostname and username
|
||||||
read -p "Enter the hostname for the system: " hostname
|
read -p "Enter the hostname for the system: " hostname
|
||||||
|
|
Loading…
Reference in New Issue