Versions this guide is based on:
EVE Image Foldername | Downloaded Filename | Version | vCPUs | vRAM | Qemu version |
---|---|---|---|---|---|
vwlc-8.7.102 | MFG_CTVM_8_7_102_0.iso | 8.7.102.0 | 1 | 2048 | 2.4.0 |
Before start install vWLC make sure that you have set Qemu version 2.4.0 ! Add node, right click edit/set qemu version 2.4.0.
Instructions |
---|
Other versions should also be supported following bellow’s procedure.
How to create newer vWLC version (8.3, 8.5, 8.6, 8.7) image using ISO installation image. Example below is using MFG_CTVM_8_7_102_0.iso Steps How to create vWLC. Step 1. Download vWLC MFG_CTVM_8_7_102_0.iso installation image. Step 2. SSH to your EVE and create new image directory for your vWLC mkdir /opt/unetlab/addons/qemu/vwlc-8.7.102
Step 3. Using WinSCP or FileZilla upload MFG_CTVM_8_7_102_0.iso image into created directory. Step 4. From EVE cli, go to created vWLC directory cd /opt/unetlab/addons/qemu/vwlc-8.7.102
Step 5. Rename original ISO file to cdrom.iso mv MFG_CTVM_8_7_102_0.iso cdrom.iso
Step 6. Create HDD for your vWLC /opt/qemu/bin/qemu-img create -f qcow2 megasasa.qcow2 8G
Step 7. Create new lab in the EVE and add new vWLC on the topology. Step 8. Start vWLC. NOTE: after you started vWLC and open console it will look like nothing is happening, patience and wait (5-10mins) till on your vWLC telnet session will appear Step 9. Now you can stop vWLC and prepare default image for your EVE Step 10. On EVE LAB web UI left side bar choose “Lab Details” to get your lab uuid details: my case: UUID: 466028c6-3052-4895-a495-683201e576f7 IMPORTANT: Commit your installed image to be as default for further use in EVE-NG. cd /opt/unetlab/tmp/0/466028c6-3052-4895-a495-683201e576f7/1/
qemu-img commit megasasa.qcow2
(0 is POD number of user, main admin user POD Nr. is 0) Step 11. Remove cdrom.iso from/opt/unetlab/addons/qemu/vwlc-8.7.102 and fix permissions cd /opt/unetlab/addons/qemu/vwlc-8.7.102/
rm -f cdrom.iso
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
Guide for older vWLC version:Upload the downloaded image to the EVE using for example FileZilla or WinSCP. Then login as root using SSH protocol and uncompress it: mkdir abc
cd abc
tar -xvf AIR-CTVM-K9-8-1-102-0.ova
Convert the vmdk file to a QEMU compatible format: /opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 AS_CTVM_8_1_102_0.vmdk megasasa.qcow2
Create the folder for HDD image and move it: mkdir -p /opt/unetlab/addons/qemu/vwlc-8.1.102.0
mv megasasa.qcow2 /opt/unetlab/addons/qemu/vwlc-8.1.102.0
mv AS_CTVM_8_1_102_0.iso /opt/unetlab/addons/qemu/vwlc-8.1.102.0/cdrom.iso
Clean and fix permissions: cd ..
rm -rf abc
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
|