Code Monkey home page Code Monkey logo

fbt9910 / osmutation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from winterxg/osmutation

0.0 0.0 0.0 22 KB

https://github.com/LloydAsp/OsMutation OpenVZ/LXC 作为容器技术不支持dd重装,但可以实现类似dd重装换系统的效果 一键重装系统脚本 仅支持openvz和lxc等容器虚拟化技术,不支持kvm等虚拟机技术 支持openvz7,不支持openvz6

Home Page: https://www.nodeseek.com/post-5159-1

License: GNU General Public License v3.0

Shell 100.00%

osmutation's Introduction

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

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

osmutation's People

Contributors

lloydasp avatar misaka-blog avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.