betacas.blogg.se

Chr proxmox
Chr proxmox







Disk: 128MB disk space for the CHR virtual hard drive (Max: 16GB).Host CPU: 64-bit with virtualization support.Package version: RouterOS v6.34 or newer.CHR has full RouterOS features enabled by default but has a different licensing model than other RouterOS versions. It supports the x86 64-bit architecture and can be used on most of the popular hypervisors such as VMWare, Hyper-V, VirtualBox, KVM, and others.

chr proxmox

virtio0 local:$vmID/vm-$vmID-disk-1.Cloud Hosted Router (CHR) is a RouterOS version intended for running as a virtual machine.

chr proxmox

var/lib/vz/images/$vmID/vm-$vmID-disk-1.qcow2 Read -p "Please Enter free vm ID to use:" vmIDĮcho "- VM Directory exists! Ideally try another vm ID!"Įcho "- Converting image to qcow2 format " # List already existing VM's and ask for vmIDĮcho "= Printing list of VM's on this hypervisor!" # Check if image is available and download if neededĮcho "- Downloading CHR $version image file."Įcho "-" Read -p "Please input CHR version to deploy (6.38.2, 6.40.1, etc):" version Creates basic VM that is attached to MGMT bridge.Įcho "# Start of Script #Įcho "# Preparing for image download and VM creation!".Downloads raw image archive from MikroTik download page.If you have access to ProxMox host then CHR VM can also be created quickly via BASH script. Qemu-img convert -f raw -O qcow2 chr-6.40.3.img vm-(VM_ID)-disk-1.qcow2 Bash script approach Now convert the CHR raw image to qcow2 format using qemu-img tool:.Via scp, wget or any other tool download CHR raw image (.img file) into this directory.

chr proxmox

Default local storage is located in: var/lib/vz/images/(VM_ID)

  • Log into ProxMox host via SSH and navigate to VM image directory.
  • chr proxmox

  • Make sure that VM storage is on local storage (this way there will no need to work with LVM config side, and disk image can be moved later on to LVM or other desired storage if needed).
  • conf file to make sure you get the syntax right Note: It's a good idea to create a second test VM so you can refer to it's.









    Chr proxmox