2022-01-19 14:21:25 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-06-21 11:07:26 +00:00
|
|
|
echo "Installing Debian 11 over current OS"
|
2022-01-19 14:21:25 +00:00
|
|
|
sudo apt install curl -y
|
|
|
|
curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh && chmod a+rx debi.sh
|
2022-03-24 09:23:36 +00:00
|
|
|
|
|
|
|
read -p "Enter your password: " password
|
2022-06-21 10:45:34 +00:00
|
|
|
sudo ./debi.sh --version 11 --user root --password "$password"
|
2022-01-19 14:21:25 +00:00
|
|
|
echo "Ready to restart"
|
2022-03-18 09:37:43 +00:00
|
|
|
sudo shutdown -r now
|