Cisco CML
Installation
On Proxmox
Preparation
Download cml .ova and reference platfomr (refplat) iso files
Extract:
tar xvf cml...ova to get vmdk file
unzip refplat.iso.zip to get .iso file
Copy vmdk file to proxmox server using scp
Upload .iso file to ISO Images: Promox server > local > IOS Images
Convert VMDK to qcow2 file: qemu-img convert -f vmdk $cml....vmdk -O qcow2 $cml...qcow2
Create VM
Create a machine with the following details
OS: Mount refplat iso file
BIOS: set to OVMF(UEF)
Disk: remove scsi0 disk
CPU: set type to host, 1 socket, 4 cores
Note the VMID or check gui or using command qm list
Import qcow2 disk to VM: qm importdisk $vmid $cml....qcow2 $storagename-local-lvm --format
Go back to VM settings and assign importeded disk to VM: select VM > Hardware, then select unused disk and click Add
Change boot order to boot from iso file first then imported disk: VM > Options > Boot Order
Start VM and setup hostname, IP address and other configuration
Once done, the setup utility will copy images to the disk
Post-Installation Tasks
Expand disk (can be done when VM is running), it has only 32GB at the moment: qm resize $vmid $disk $
qm resize 107 scsi0 +168G
confirm the hardrive is expanded in hardware information of VM or command qm list
Install cloud-guest-utils if growpart command below is not available: sudo apt install cloud-guest-utils
Grow the partition
Tell LVM to recognize the expanded partition
Extend the logical volume
Resize File system
Configuration
Access Admin Cockpit: https://server:9090
SSH: server:1122
Access Lab Dashboard: https://server
Reference
https://mateuszfrak.com/posts/cml-on-proxmox/
Last updated