Make stuff run on Mint VM at work

This commit is contained in:
sebastian
2025-04-23 08:08:55 +02:00
parent c5007a319e
commit 1f9ccf890e
4 changed files with 106 additions and 15 deletions

7
run_once_install_ansible.sh Normal file → Executable file
View File

@@ -10,11 +10,13 @@ install_on_arch() {
}
install_linux() {
echo "install linux $1"
case $1 in
"Arch"|"EndevourOS")
install_on_arch
;;
"Ubuntu"|"Debian"|"Linuxmint")
"Ubuntu"|"Debian"|"Linuxmint"|*Mint*)
echo "debian!"
install_on_debian
;;
esac
@@ -29,7 +31,8 @@ case "${OS}" in
export PRETTY_NAME="$(lsb_release -i | column --table -N Dist,ID,Name -H Dist,ID -d)"
fi
install_linux $PRETTY_NAME
install_linux "$PRETTY_NAME"
;;
esac