Table of contents
2.4 Upload configuration script
1.Document composition
The eve-ng image consists of 4 files
1. Boot image: a disk image file loaded during runtime;
2. Icon: the picture displayed in the topology;
3. Template: describes the hardware information of the image, CPU, RAM, interfaces, associated icons, configuration scripts and startup information;
4. Configuration script: used to export configuration. This file is not necessary and can be left out.
2. Import Ruijie image
2.1 Upload template
The host is amd platform, upload the template to /opt/unetlab/html/templates/amd
The host is Intel platform, upload the template to /opt/unetlab/html/templates/intel
My computer is amd
2.2 Upload icon
Upload to /opt/unetlab/html/images/icons
2.3 Upload the boot image
Create Ruijieroute-1.0 in /opt/unetlab/addons/qemu/
When naming the folder, the "-" in front and the template name remain the same, and the content after the "-" can be customized, such as the version number.
2.4 Upload configuration script
2.5 Repair file permissions
Execute unl_wrapper -a fixpermissions
unl_wrapper -a fixpermissions