KASM-6039 need to rip out the ubuntu user on noble

This commit is contained in:
ryan.kuba 2024-06-06 12:50:42 -04:00
parent 07a742518b
commit f8cb463809
No known key found for this signature in database

View File

@ -44,4 +44,7 @@ if [ "$DISTRO" = "ubuntu" ] && ! grep -q "24.04" /etc/os-release; then
add-apt-repository ppa:kisak/turtle
apt-get update
apt full-upgrade -y
elif [ "$DISTRO" = "ubuntu" ] && grep -q "24.04" /etc/os-release; then
userdel ubuntu
rm -Rf /home/ubuntu
fi