Git Product home page Git Product logo

osmutation's People

Contributors

dimon222 avatar lloydasp avatar misaka-blog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

osmutation's Issues

[BUG]No judgment on system architecture

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):

please select os (input number)

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

卡在Your container type: openvz

卡在Your container type: openvz,不会往下,也不会出错。

IPv6 Only的小鸡。原系统是debian11。512M内存,10G硬盘。

SSH

提供的包能否加一下SSH服务

建议针对某些环境增加网络配置警告提示

感谢作者开源。

看了下代码,发现目前逻辑是判断/etc/network/interfaces中是否存在static字样,这在某些时候会导致使用纯dhcp的系统出现判断问题走到手动生成的逻辑。

而在手动生成的逻辑中,似乎只获取ipv4并且对多网卡的判断有问题。

建议对此予以警告,以避免某些环境用户无法正常运行脚本或运行后失联。

PS: 个人对各系统网络配置这边不是特别熟,平常主要是debian,如果错误请见谅。

dd失联

image

nat的机器, 幸好有重装功能

Keeping the old ssh port

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.

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.