MikroTik Cloud Hosted Router (CHR) P1 is a RouterOS operating system designed to run as a virtual machine. It supports 64-bit x86 architecture and can be installed on most popular hypervisors: VMWare, VirtualBox, Hyper-V, KVM, Xen, Raw disk image. The latter virtual disk can be deployed on almost any platform.
Working script of MikroTik Cloud Hosted Router version installation on PQ VPS with Ubuntu 22.04.2 LTS OS.
Directly on the script itself I recommend to study Mounting Loopback Device (loop) using offset sizelimit.
Как установить MikroTik RouterOS (CHR) на VPS VDS
wget https://raw.githubusercontent.com/darkfire13/RouterOS-CHR-Install/main/chr_install
bash chr_install