diff --git a/config/pentest-distro-builder.chroot b/config/pentest-distro-builder.chroot index cd81b279..0cdd367b 100644 --- a/config/pentest-distro-builder.chroot +++ b/config/pentest-distro-builder.chroot @@ -21,3 +21,16 @@ systemctl enable tor systemctl enable cockpit.socket systemctl enable xrdp systemctl disable firewalld + +#Distro-specific stuff +DISTRO=$(cat /etc/lsb-release | grep DISTRIB_ID | cut -c 12-30) + +case $DISTRO in +Parrot) +#Stop ParrotSec from overwriting all our desktop customizations every time parrot-skel updates. >:-( +apt-mark hold parrot-skel +;; +Kali) +;; +esac +