If you need to deploy Canaries on KVM-based hypervisors, follow these generic steps outlined below.
Note:
If your hypervisor does not support importing .OVA files, or .VMDK disks, we'll first need to convert the Canary images to another supported format. Usually qcow2 or RAW.
To get this working, you need to:
- Download the OVA file from your console. This will give you the file VirtualCanary_x.x.x.ova where x.x.x is the version.
- Extract the OVA file (it is a tgz file with an .ova extension). You may need to rename the file to VirtualCanary_x.x.x.tgz in order to do this. Inside, there should be 3 files. 2 disk images and 1 .ovf file
- Convert the disk images. You can do this with qemu-img:
Convert Disk1 : qemu-img convert -f vmdk /path/to/VirtualCanary-x.x.x-disk1.vmdk -O qcow2 /path/to/VirtualCanary-x.x.x-disk1.qcow2
Convert Disk2 : qemu-img convert -f vmdk /path/to/VirtualCanary-x.x.x-disk2.vmdk -O qcow2 /path/to/VirtualCanary-x.x.x-disk2.qcow2
- Create a new VM with the following specifications:
- 1 CPU
- 2GB RAM
- LSI SCSI controller (this is the default but I've used VirtIO successfully)
- Attach disk1 to port 0
- Attach disk2 to port 1
- Intel E1000 network adapter (this is the default but we've used VirtIO successfully)
- Make sure that this interface has internet access. You can configure IP settings from within the VM's terminal.
You should now be able to boot the new machine!