Versions this guide is based on:
EVE Image Name | Downloaded Filename | Version | vCPUs | vRAM |
---|---|---|---|---|
|
|
X86_64_LINUX_IOSD-UNIVERSALK9-M 16.3.3 | 1 | 3072 |
|
|
X86_64_LINUX_IOSD-UNIVERSALK9-M 16.4.1 | 1 | 3072 |
Other versions should also be supported following bellow's procedure.
Steps below are based on csr1000vng-universalk9.16.03.03.Denali creation, for other image deployment, use proper names respectively.
SSH to EVE and login as root, from cli and create temporary working directory on the EVE's root:
mkdir tmp
cd tmp
Upload the downloaded ISO CD image to the EVE using for example FileZilla or WinSCP.
Create new HDD for CSR installation:
/opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 8G
Start CSR installation:
/opt/qemu-2.2.0/bin/qemu-system-x86_64 -nographic -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -cdrom csr1000v-universalk9.16.03.03.iso -boot order=dc -m 3072
Once on the screen appears prompt, hit any key and choose 3rd option CSR 1000V Serial console and confirm with ENTER:
Press any key to continue.
Press any key to continue.
Press any key to continue.
GNU GRUB version 0.97 (639K lower / 3144696K upper memory)
+-------------------------------------------------------------------------+
| CSR 1000V Virtual (VGA) Console -- Thu-19-Jan-17-06:47 |
| CSR 1000V Autodetect (Serial, VGA) Console -- Thu-19-Jan-17-06:47 |
| CSR 1000V Serial Console -- Thu-19-Jan-17-06:47 |
| |
| |
| |
| |
| |
| |
| |
| |
| |
+-------------------------------------------------------------------------+
Wait till CSR installs and again prompt Press any key to continue, hit any key and choose 3rd option again BUT DO NOT HIT ENTER after selected Serial option:
Press any key to continue.
Press any key to continue.
Press any key to continue.
GNU GRUB version 0.97 (639K lower / 3144696K upper memory)
+-------------------------------------------------------------------------+
| CSR 1000V Virtual (VGA) Console -- Thu-19-Jan-17-06:47 |
| CSR 1000V Autodetect (Serial, VGA) Console -- Thu-19-Jan-17-06:47 |
| CSR 1000V Serial Console -- Thu-19-Jan-17-06:47 |
| |
| |
| |
| |
| |
| |
| |
| |
| |
+-------------------------------------------------------------------------+
DO NOT HIT ENTER after selected Serial!!!
Now Stop CSR booting and get to qemu prompt using key combo ctrl+a and then press c, once appears (qemu) type quit.
(qemu) quit
Create new CSR image target directory:
mkdir /opt/unetlab/addons/qemu/csr1000vng-universalk9.16.03.03.Denali/
Move CSR HDD to target directory:
mv virtioa.qcow2 /opt/unetlab/addons/qemu/csr1000vng-universalk9.16.03.03.Denali/
Clean and fix permissions:
cd
rm -rf tmp
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
CSR Image is created and ready to use, now you can open lab and your image will be visible under nodes csr1000v