mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-06-25 22:41:47 +02:00
KASM-6039 need to rip out the ubuntu user on noble
This commit is contained in:
parent
07a742518b
commit
f8cb463809
@ -44,4 +44,7 @@ if [ "$DISTRO" = "ubuntu" ] && ! grep -q "24.04" /etc/os-release; then
|
|||||||
add-apt-repository ppa:kisak/turtle
|
add-apt-repository ppa:kisak/turtle
|
||||||
apt-get update
|
apt-get update
|
||||||
apt full-upgrade -y
|
apt full-upgrade -y
|
||||||
|
elif [ "$DISTRO" = "ubuntu" ] && grep -q "24.04" /etc/os-release; then
|
||||||
|
userdel ubuntu
|
||||||
|
rm -Rf /home/ubuntu
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user