oracle-server-init/startup.sh

11 lines
326 B
Bash

#!/bin/sh
echo "Installing Debian 11 over current OS"
sudo apt install curl -y
curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh && chmod a+rx debi.sh
read -p "Enter your password: " password
sudo ./debi.sh --version 11 --user root --password "$password"
echo "Ready to restart"
sudo shutdown -r now