Skip to content
프로젝트

소개

모든 OpenVZ/LXC VPS를 Debian, CentOS 또는 Alpine으로 재설치

시스템 및 인프라

이 수치를 측정하는 방법

What you can do

  • Support both OpenVZ 7 and LXC
  • Support reinstall to multiple operating systems

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+4
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

OsMutation

Reinstall Any OpenVZ/LXC VPS to Debian/CentOS/Alpine

Features

  • Support both OpenVZ 7 and LXC
  • Support reinstall to multiple operating systems

Usage

wget -qO OsMutation.sh https://raw.githubusercontent.com/LloydAsp/OsMutation/main/OsMutation.sh && chmod u+x OsMutation.sh && ./OsMutation.sh

or

curl -so OsMutation.sh https://raw.githubusercontent.com/LloydAsp/OsMutation/main/OsMutation.sh && chmod u+x OsMutation.sh && ./OsMutation.sh

for vps whose disk is small (less than 1GiB, experimental support)

wget -qO OsMutation.sh https://raw.githubusercontent.com/LloydAsp/OsMutation/main/OsMutationTight.sh && chmod u+x OsMutation.sh && ./OsMutation.sh

asciicast

Notice

  • A fresh system will be installed and all old data will be wiped! Backup your important data first.
  • OpenVZ 7 and above is support, not OpenVZ 6.
  • Virtual Machine is not supported, such as kvm, xen and vmware

How Does This work

Openvz and Lxc are typical container virtualization technologys. The host OS kernel is shared with both the host and other containers, and all the applications and runtime libraries required by os are packed together in container itself.

So if you want to replace the operating system, you can just replace the files in the container. That's it, simple and straightforward. Just pay attention to the order of action since there are some dependences of files.

Template Sources

LXC templates are directly downloaded from http://images.linuxcontainers.org, OpenVZ 7 templates are extracted from OpenVZ 7 official iso.

Thanks To

To Do

  • Support non-interactive mode by accepting arguments
  • Support customed template source
  • Support more operating system
  • Fix networking bug of CentOS under LXC
  • Auto configure ipv6 network

관련 프로젝트 살펴보기

불러오는 중…