

Print("You can disable the phone home feature with something like:") Out_file.write("\n" + hostname + " = " + iouLicense + " \n")

With open("iourc.txt", "wt") as out_file: Print("\n" + hostname + " = " + iouLicense + " \n") Print("\nAdd the following text to ~/.iourc:") IouLicense=hashlib.md5(md5input).hexdigest() Md5input=iouPad1 + iouPad2 + struct.pack('!i', ioukey) + iouPad1 Print("hostid=" + hostid +", hostname="+ hostname + ", ioukey=" + hex(ioukey)) Get the host id and host name to calculate the hostkey Print("Cisco IOU License Generator - Kal 2011, python port of 2006 C version") If not able to download copy and save below python code with same filename. Download the IOU licence key generator named CiscoIOUKeygen3f.py from here.

Now, we need to add the IOU licence under the EVE-NG to run the IOU/IOL image.Ĩ. On cli, change the directory using below command and check the images are uploaded cd ls -l opt/unetlab/wrappers/unl_wrapper -a EVE-NG:~#Ħ. Further, open cli access to EVE-NG using tool like Putty and fix the permission of the images you just have uploaded in order for them to work using cli command as below. Now upload the IOU/IOL images to EVE-NG under location /opt/unetlab/addons/iol/bin/.
