Thanks to visit codestin.com
Credit goes to github.com

Skip to content

p7e4/reinstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Reinstall

A simple script to reinstall your VPS with cloud image.

Target System

System Version Image Size
Debian 13 debian-13-genericcloud-amd64.qcow2 326M
Ubuntu 24.04 noble-server-cloudimg-amd64.img 598M
Rocky 10 Rocky-10-GenericCloud-Base.latest.x86_64.qcow2 549M
AlmaLinux 10 AlmaLinux-10-GenericCloud-latest.x86_64.qcow2 563M
Fedora 43.1.6 Fedora-Cloud-Base-Generic-43-1.6.x86_64.qcow2 557M
Archlinux rolling Arch-Linux-x86_64-cloudimg.qcow2 557M

The host system must be Debian 10/Ubuntu 18 or Rocky Linux 10/AlmaLinux 10 (target system not fedora/archlinux), older version might work but not been fully tested.

The host server minimum memory should be larger than the image size, recommend at least 1GB.

Quick Start

# Download the reinstall.sh
# or https://raw.githubusercontent.com/p7e4/reinstall/refs/heads/main/reinstall.sh
curl -O https://cdn.jsdelivr.net/gh/p7e4/reinstall/reinstall.sh

# reinstall system to debian using password
bash reinstall.sh -p <your_password> -s debian

Parameters

Optional Default Description
-k none ssh key authentication
-p none password
-n vm-$(system) hostname
-s none target system, one of debian/ubuntu/fedora/rocky/almalinux/archlinux

Related Repositories

About

A simple script to reinstall your VPS with cloud image.

Topics

Resources

License

Stars

Watchers

Forks

Languages