TrendMicro vTPS FW

Versions this guide is based on:

EVE Image Name Downloaded Filename Version vCPUs vRAM Console
trendmivtps-5.2.0.1167 vTPS_vmw_5.2.0.1167.zip vTPS 5.2.0.1167 2 8192 vnc

 

Instructions
This how to is tested for image versions 5.2.0

 Image template must be uploaded into EVE location /opt/unetlab/html/templates.

You must edit your EVE Community config.php file accordingle EVE Community cookbook section 12.3  “How to add custom image template”.

config.php file location is: /opt/unetlab/html/includes

Steps how to prepare the image

SSH to your EVE CLI:

Create temporary working directory for images:

mkdir abc
cd abc

Upload the downloaded vTPS_vmw_5.2.0.1167.zip image to the EVE using for example FileZilla or WinSCP. Then login as root using SSH protocol and uncompress it:

Unzip loaded image archive:

unzip vTPS_vmw_5.2.0.1167.zip
tar xvf tar xvf vTPS_vmw_5.2.0.1167.ova

root@eve-ng:~/abc# ls
vTPS_5.2.0.1167.cert        vTPS_5.2.0.1167.mf   vTPS_vmw_5.2.0.1167.ova
vTPS_5.2.0.1167-disk1.vmdk  vTPS_5.2.0.1167.ovf  vTPS_vmw_5.2.0.1167.zip

Our necessary image is marked in green above.

1. Create Trend Micro vTPS image folder:

mkdir /opt/unetlab/addons/qemu/trendmivtps-5.2.0.1167

2. Convert VMDK image to qcow2 format:

qemu-img convert -f vmdk -O qcow2 vTPS_5.2.0.1167-disk1.vmdk hda.qcow2

3. Move converted hda.qcow2 to the image folder:

mv hda.qcow2 /opt/unetlab/addons/qemu/trendmivtps-5.2.0.1167/hda.qcow2

4. Remove temporary folder abc and fix permissions:

cd
rm -rf /root/abc
/opt/unetlab/wrappers/unl_wrapper -a fixpermission