有时候Eve-ng 添加iol设备后无法启动的问题,可以先ssh到eve的虚机上敲
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
看看是否就好了,这个是permission问题。
还有一种是license问题, 看/opt/unetlab/addons/iol/bin目录下,这个iourc就是license文件
root@eve-ng:/opt/unetlab/addons/iol/bin# ls
CiscoIOUKeygen.py L3-ADVENTERPRISEK9-M-15.2-M5.3.bin
**iourc ** L3-ADVENTERPRISEK9-M-15.4-2T.bin
L2-ADVENTERPRISEK9-M-15.2-20150703.bin
看看里面是什么
root@eve-ng:/opt/unetlab/addons/iol/bin# cat iourc
[license]
eve-ng = 972f30267ef51616;
可以通过运行注册码生成程序来获得
root@eve-ng:/opt/unetlab/addons/iol/bin# python CiscoIOUKeygen.py
*********************************************************************
Cisco IOU License Generator - Kal 2011, python port of 2006 C version
Modified to work with python3 by c_d 2014
hostid=007f0101, hostname=eve-ng, ioukey=7f0343
Add the following text to ~/.iourc:
[license]
eve-ng = 972f30267ef51616;
You can disable the phone home feature with something like:
echo '127.0.0.127 [xml.cisco.com](http://xml.cisco.com)' >> /etc/hosts
root@eve-ng:/opt/unetlab/addons/iol/bin#
另外还有个办法是安装toolkit, 可以去网站下载安装:
http://www.emulatedlab.com/
或者在线安装:
root@eve-ng:~# wget -q [http://repo.eve-ng.org:81/install](http://repo.eve-ng.org:81/install) -O install&&sh ./install
******************************************************
*******************EVE-NG Toolkit*********************
******************************************************
** @EmulatedLab **
** **
** 0\. IP address management **
** 1\. Hide invalid device* **
** 2\. Modify update Source **
** 3\. Update & Upgrade **
** 4\. Generate IOU License **
** 5\. Fixpermissions **
** 6\. Add H3C Device Support* **
** 7\. Add Hillstone Device Support* **
** 8\. Add Radware Device Support* **
** 9\. Add Zabbix/Nagios Device Support* **
** 10.Add VMware ESXi Device Support* **
** 11.Add Storage Device Support* **
** 12.Add Software Router Device Support* **
** 13.Add Openstack/Docker Device Support* **
** 14.Add Android Device Support* **
** 15.Add Configuration Management* **
** d. Diagnose info **
** p. Eve-ng Pro evaluation* **
** u. Update Toolkit **
** e. Exit **
** **
******************************************************
*********************V.20180914***********************
******************************************************
press number, then press Enter :e
Exit.
root@eve-ng:~#
Iol和CiscoIOUKeygen.py文件
链接:https://pan.baidu.com/s/1BXpDy7bWyBvBkDf9W8SC-g 密码:is3g
EVE-NG community 2.0.3-92版
链接:https://pan.baidu.com/s/1RcNRq8Zho6J-8BXdqhLMtg 密码:ong0
EVE-NG-PRO-2.4-20.OVA
链接:https://pan.baidu.com/s/1lr2khI0mMopCACVuxEBPtQ 密码:qzc5
其他相关资源