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