Awesome
VPS2SUSE
Install openSUSE on your VPS, no matter what the current OS is.
Usage
-
Install curl with your current package manager
-
Run this script
$ curl -OL https://raw.githubusercontent.com/U2FsdGVkX1/vps2suse/main/vps2suse # or use https://cdn.jsdelivr.net/gh/U2FsdGVkX1/vps2suse@main/vps2suse
$ chmod +x vps2suse
$ sudo ./vps2suse #[OPTIONS]
- Sync data and reboot
$ sudo $SHELL -c 'sync && reboot -f'
- Connect to server after about 3 minutes.
# the root password from the original system (or by using vps2suse as password if no root password was set).
$ ssh root@your-server-ip
- Change your root password
passwd
Options
-h Show help messages.
-s Set OS version, For leap 15.5, just set to "-s 15.5" (Default: Tumbleweed).
-a Set architecture type for the container image (Default: auto detect).
-m Set mirror address (Default: https://download.opensuse.org).
Notes
The script adds a systemd unit to copy the route to gateway by default. It can be disabled using
sudo systemctl disable setup-gateway.service
Credits
This project is based on vps2arch
License
GNU General Public License 3.0