Skip to content

p7e4/reinstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Reinstall

A simple script to reinstall your VPS with cloud image.

Target Systems

System Version Image Size
Debian 13 debian-13-genericcloud-amd64.qcow2 358M
Ubuntu 24.04 noble-server-cloudimg-amd64.img 590M
Fedora 42 Fedora-Cloud-Base-Generic-42-1.1.x86_64.qcow2 507M
Rocky 9 Rocky-9-GenericCloud-Base.latest.x86_64.qcow2 598M
AlmaLinux 9 AlmaLinux-9-GenericCloud-latest.x86_64.qcow2 506M
CentOS Stream 10 CentOS-Stream-GenericCloud-10-latest.x86_64.qcow2 1.5G
Archlinux rolling Arch-Linux-x86_64-cloudimg.qcow2 523M

The current system must be Debian 10/Ubuntu 18 or higher.

Usage

  1. Download the reinstall.sh script:

    curl -O https://cdn.jsdelivr.net/gh/p7e4/reinstall/reinstall.sh

    or

    curl -O https://raw.githubusercontent.com/p7e4/reinstall/refs/heads/main/reinstall.sh
  2. Run the script:

    Use SSH public key for authentication:

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

    Or use password for authentication:

    bash reinstall.sh -p your_password -s debian

    Optionally, you can set up the hostname:

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

Related Repositories

About

A simple script to reinstall your VPS with cloud image.

Topics

Resources

License

Stars

Watchers

Forks

Languages