Convert Ubuntu to CHR (Mikrotik)

Clone my script in github

git clone https://github.com/aryapramudika/linux-chr.git

and then run the script, with spesified target disk

cd linux-chr
chmod +x linux-chr.sh

bash linux-chr.sh -v 7.13.3 -p securepass -d /dev/sda

Complete details about script

Usage: linux-chr.sh [OPTIONS]
Install MikroTik RouterOS (CHR)

Options:
  -v, --version VERSION    CHR version to install (default: 7.13.3)
  -p, --password PASSWORD  Set admin password (default: admin)
  -d, --device DEVICE      Target disk device (default: /dev/vda)
  -h, --help              Show this help message

Example:
  linux-chr.sh -v 7.13.3 -p mypassword -d /dev/vda