Merge branch 'feature/KASM-6039-noble-base-fix' into 'develop'

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

See merge request kasm-technologies/internal/workspaces-core-images!202
This commit is contained in:
Richard Koliser 2024-06-06 17:53:38 +00:00
commit 5cd5d5c5f0

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