본문 바로가기

UNL

How to add ASAv on UNL

1. ASAv-941-200

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

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



cd /opt/unetlab/addons/qemu/asav-941-200/

modprobe nbd

/opt/qemu/bin/qemu-nbd -c /dev/nbd0 virtioa.qcow2

mount /dev/nbd0p2 /mnt/hgfs/

touch /mnt/hgfs/use_ttyS0

umount /mnt/hgfs/

/opt/qemu/bin/qemu-nbd -d /dev/nbd0



/opt/unetlab/wrappers/unl_wrapper -a fixpermissions



2. ASAv-952-204

mkdir -p /opt/unetlab/addons/qemu/asav-952-204

mv /tmp/asav952-204.qcow2 /opt/unetlab/addons/qemu/asav-952-204/virtioa.qcow2



cd /opt/unetlab/addons/qemu/asav-952-204/

modprobe nbd

/opt/qemu/bin/qemu-nbd -c /dev/nbd0 virtioa.qcow2

mount /dev/nbd0p2 /mnt/hgfs/

touch /mnt/hgfs/use_ttyS0

umount /mnt/hgfs/

/opt/qemu/bin/qemu-nbd -d /dev/nbd0



/opt/unetlab/wrappers/unl_wrapper -a fixpermissions