Create debian-bullseye_pt2.sh
This commit is contained in:
19
base-build/debian-bullseye_pt2.sh
Normal file
19
base-build/debian-bullseye_pt2.sh
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Copyright (c) 2018 fithwum
|
||||||
|
# All rights reserved
|
||||||
|
|
||||||
|
echo " "
|
||||||
|
echo "APT::Get::Assume-Yes \"true\";" | tee /etc/apt/apt.conf.d/10-assume_yes
|
||||||
|
sleep 1
|
||||||
|
echo " "
|
||||||
|
echo "INFO ! Removeing unnecessary packages."
|
||||||
|
apt-get remove --allow-remove-essential pinentry-curses whiptail kmod iptables iproute2 dmidecode
|
||||||
|
sleep 1
|
||||||
|
echo " "
|
||||||
|
echo "INFO ! Cleanup."
|
||||||
|
apt-get clean
|
||||||
|
find /var/lib/apt/lists/ -maxdepth 2 -type f -delete
|
||||||
|
sleep 1
|
||||||
|
echo " "
|
||||||
|
echo "INFO ! Type "exit" and reboot for final steps."
|
||||||
|
exit
|
||||||
Reference in New Issue
Block a user