Adding the ASAv to EVE-NG

March 24, 2018 at 8:00 am

EVE-NG

I am going to need some ASAv action in EVE-NG next week for a project I am working on. Here are the steps I hope work! 😋 I grabbed these from the EVE-NG site and added my own elaboration where I thought necessary.

I will try and shoot a video of these steps next week as well.

Step 1: Acquire the asav941-200.qcow2 or asav952-204.qcow2 files for EVE-NG use

Step 2: Fire up WinSCP or FileZilla and connect to the EVE-NG IP address for FTP purposes

Step 3: Upload the appropriate .qcow2 from Step 1 to the root of the EVE-NG system

Step 4: Create the directory in EVE-NG for the ASAv image storage:

mkdir -p /opt/unetlab/addons/qemu/asav-941-200

Step 5: Move the image to that directory:

mv asav941-200.qcow2 /opt/unetlab/addons/qemu/asav-941-200/virtioa.qcow2

Step 6: Run these commands to enable Telnet access instead of VNC:

apt-get update
apt-get install libguestfs-tools
cd /opt/unetlab/addons/qemu/asav-941-200/

guestfish -a virtioa.qcow2
run
mount /dev/sda2 /
touch /use_ttyS0
umount /
exit

Step 7: Clean and fix permissions:

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

That does it! The image should now be ready for addition as a Node in the EVE-NG Web client. Happy lobbing!