lloydasp / osmutation Goto Github PK
View Code? Open in Web Editor NEWReinstall Any OpenVZ/LXC VPS to Debian/CentOS/Alpine
Home Page: https://www.nodeseek.com/post-5159-1
License: GNU General Public License v3.0
Reinstall Any OpenVZ/LXC VPS to Debian/CentOS/Alpine
Home Page: https://www.nodeseek.com/post-5159-1
License: GNU General Public License v3.0
1对应什么系统,2对应什么系统,在哪看?
只看到 1 alpine-3.15-amd64-default-20231107_13:00- -images-alpine-3.16-amd64-default-20231108_13:00- -images-alpine-3.17-amd64-default-20231108_13:00- -images-alpine-3.18-amd64-default-20231108_13:00- -images-centos-7-amd64-default-20231108_07:08- -images-centos-8-Stream-amd64-default-20231108_07:08- -images-centos-9-Stream-amd64-default-20231108_07:08- -images-debian-bookworm-amd64-default-20231108_05:24- -images-debian-bullseye-amd64-default-20231108_05:24- -images-debian-buster-amd64-default-20231108_05:24- -images-debian-sid-amd64-default-20231108_05:24- -images-debian-trixie-amd64
In LXC virtualization, there is no determination of the system architecture as amd64 or arm64. Instead, it defaults to amd64, resulting in the error: "chroot: cannot run command '/bin/bash': Exec format error."
root@vps:~# uname -a
Linux vps 5.15.0-1039-oracle #45~20.04.1-Ubuntu SMP Fri Jul 14 16:53:50 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
root@vps:~# curl -so OsMutation.sh https://raw.githubusercontent.com/LloydAsp/OsMutation/main/OsMutation.sh && chmod u+x OsMutation.sh && ./OsMutation.sh
...
Your container type: lxc
1 alpine-3.15-amd64.tar.xz
2 alpine-3.16-amd64.tar.xz
3 alpine-3.17-amd64.tar.xz
4 alpine-3.18-amd64.tar.xz
5 centos-7-amd64.tar.xz
6 centos-8-Stream-amd64.tar.xz
7 centos-9-Stream-amd64.tar.xz
8 debian-bookworm-amd64.tar.xz
9 debian-bullseye-amd64.tar.xz
10 debian-buster-amd64.tar.xz
11 debian-sid-amd64.tar.xz
please select os (input number): 9
...
migrating configuration
replacing old files
chroot: failed to run command ‘/bin/bash’: Exec format error
post processing...
reboot now? (yes/no):
Add support to Alpine 3.18
提供的包能否加一下SSH服务
感谢作者开源。
看了下代码,发现目前逻辑是判断/etc/network/interfaces中是否存在static字样,这在某些时候会导致使用纯dhcp的系统出现判断问题走到手动生成的逻辑。
而在手动生成的逻辑中,似乎只获取ipv4并且对多网卡的判断有问题。
建议对此予以警告,以避免某些环境用户无法正常运行脚本或运行后失联。
PS: 个人对各系统网络配置这边不是特别熟,平常主要是debian,如果错误请见谅。
plz add ubuntu system
my vps base on arm64 , when will surpport arm64 ?
debian有些东西还是用着不顺手
Can't login using the previous old root password. So...
hi, first of all i really enjoyed the project and i appreciate u for making it.
the title says it all. please make it so it keeps the old ssh port for people who dont use the default port. i personally use termius (an ssh client) and it saves the port and other info for me so having to change it after every reinstall is slightly bothersome.
卡在Your container type: openvz,不会往下,也不会出错。
IPv6 Only的小鸡。原系统是debian11。512M内存,10G硬盘。
重启后ssh密码不对了
我的是这个项目 https://github.com/MXCCO/lxdpro 开出来的lxc小鸡,在运行dd脚本的时候选择完镜像询问我是否重启,我选择yes了之后就失联了🥲
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.