Skip to content
/ reinstall Public

Reinstall your VPS with cloud image

License

Notifications You must be signed in to change notification settings

p7e4/reinstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

reinstall

Reinstall your VPS with cloud image

Support system

  • debian
  • ubuntu
  • fedora
  • rocky

The current system needs to be debian/ubuntu

Only support the latest version of the system, if you want old version, please change the script manually.

Usage

download reinstall.sh

wget https://raw.githubusercontent.com/p7e4/reinstall/refs/heads/main/reinstall.sh

use ssh public key for authentication

bash reinstall.sh -k "ssh-rsa your_key" -s debian

use password for authentication

bash reinstall.sh -p your_password -s debian

setup hostname

bash reinstall.sh -p your_password -s debian -n your_hostname

Related repo

About

Reinstall your VPS with cloud image

Topics

Resources

License

Stars

Watchers

Forks

Languages