Versions this guide is based on:
EVE Image Foldername | Downloaded Filename | Version | vCPUs | vRAM | Console |
---|---|---|---|---|---|
isrv-17.03.02 | isrv-universalk9.17.03.02.qcow2 | X86_64_LINUX_IOSD-UNIVERSALK9-M | 1 | 4096 | telnet |
Instructions |
---|
Other versions should also be supported following bellow’s procedure.
Steps below are based on isrv-universalk9.17.03.02.qcow2 creation, for other image deployment, use proper names respectively. 1. SSH to EVE and login as root, from cli and create image directory in the EVE: mkdir /opt/unetlab/addons/qemu/isrv-17.03.02
2. Upload the downloaded isrv-universalk9.17.03.02.qcow2 image to the EVE using for example FileZilla or WinSCP. 3. Go to image directory and rename original filename to virtioa.qcow2: cd /opt/unetlab/addons/qemu/isrv-17.03.02
4. Rename original filename to virtioa.qcow2 mv isrv-universalk9.17.03.02.qcow2 virtioa.qcow2
5. Mount image in guestfish to edit console types cd /opt/unetlab/addons/qemu/isrv-17.03.02
guestfish -a virtioa.qcow2
run
mount /dev/sda5 /
6. Edit grub file to allow telnet console. using vi delete word “VMCONSOLE” from BOTH lines vi /grub2/grub.cfg
######Original, removing VMCONSOLE word, google for instrction how to use vi editor#####
menuentry 'ISRV - packages.conf' --class gnu-linux --class gnu --class os {
set root=(hd0,msdos11)
linux /packages.conf rw root=/dev/ram max_loop=64 HARDWARE=virtual VMCONSOLE quiet console= SR_BOOT=bootflash:packages.conf
menuentry 'ISRV - packages.conf' --class gnu-linux --class gnu --class os {
set root=(hd0,msdos11)
linux /packages.conf rw root=/dev/ram max_loop=64 HARDWARE=virtual VMCONSOLE quiet console= SR_BOOT=bootflash:packages.conf
#####Edited#####
menuentry 'ISRV - packages.conf' --class gnu-linux --class gnu --class os {
set root=(hd0,msdos11)
linux /packages.conf rw root=/dev/ram max_loop=64 HARDWARE=virtual quiet console= SR_BOOT=bootflash:packages.conf
menuentry 'ISRV - packages.conf' --class gnu-linux --class gnu --class os {
set root=(hd0,msdos11)
linux /packages.conf rw root=/dev/ram max_loop=64 HARDWARE=virtual quiet console= SR_BOOT=bootflash:packages.conf
######After editing the file above, hit key "esc" and save it#####
:wq
quit
7. Fix permissions: /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
ISRv Image is created and ready to use, now you can open lab and your image will be visible under nodes ISRv NOTE: ISRv Image can be converted to SD-WAN image with command: controller-mode enable
access admin/admin |