Versions this guide is based on:
EVE Image Name | Downloaded Filename | Version | vCPUs | vRAM |
---|---|---|---|---|
csr1000v-universalk9.03.16.05.S.155-3.S5 | csr1000v-universalk9.03.16.05.S.155-3.S5-ext.iso | X86_64_LINUX_IOSD-UNIVERSALK9-M 15.5(3)S5 | 1 | 3072 |
csr1000v-universalk9.03.17.04.S.156-1.S4-std | csr1000v-universalk9.03.17.04.S.156-1.S4-std.iso | X86_64_LINUX_IOSD-UNIVERSALK9-M 15.4(3)S7 | 1 | 3072 |
Instructions |
---|
Other versions should also be supported following bellow’s procedure.
Steps below are based on csr1000v-universalk9.03.17.04.S.156-1.S4-std creation, for other image deployment, use proper names respectively. 1. SSH to EVE and login as root, from cli and create temporary working directory abc on the EVE’s root: mkdir abc
cd abc
2. Upload the downloaded ISO image to the EVE root/abc using for example FileZilla or WinSCP. 3. Create new HDD for CSR installation: /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 8G
4. Start CSR installation, make sure you have edited this line and corrected ISO filename in this command: /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.03.17.04.S.156-1.S4-std.iso -boot order=dc -m 3072
5. 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 |
| |
| |
| |
| |
| |
| |
| |
| |
| |
+-------------------------------------------------------------------------+
6. IMPORTANT: Wait till CSR installs and again prompt “Press any key to continue”, hit any key and choose Serial console 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!!! 7. 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
8. Create new CSR image target directory: mkdir /opt/unetlab/addons/qemu/csr1000v-universalk9.03.17.04.S.156-1.S4-std/
9. Move CSR HDD to target directory: mv virtioa.qcow2 /opt/unetlab/addons/qemu/csr1000v-universalk9.03.17.04.S.156-1.S4-std/
10. Clean and fix permissions: cd
rm -rf abc
/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 |