t54789 发表于 2022-3-7 10:43:34

【求助】vSphere使用ios安装的eve,没有/opt/unetlab/platform文件

vSphere无法使用ovf和ova安装,貌似是兼容性问题;使用ios安装完,执行/opt/unetlab/wrappers/unl_wrapper -a fixpermissions报错;
检查/opt/unetlab/目录,确实没有/opt/unetlab/platform文件;
大神知道如何解决?

t54789 发表于 2022-3-7 10:44:00

root@eve-ng:/opt/unetlab# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
PHP Warning:file_get_contents(/opt/unetlab/platform): failed to open stream: No such file or directory in /opt/unetlab/html/includes/init.php on line 71

spiderman001 发表于 2026-3-22 11:03:16

(All commands must be run as root)

    Check that the 71st line in the specified file (/opt/unetlab/html/includes/init.php) is such as:

$kvm_family = file_get_contents(“/opt/unetlab/platform”);

If it’s not, edit it to look like this.

    Run the command:

dmesg | grep -i cpu | grep -i -e intel -e amd

if you get an output line with the word “Intel”

then run the following command:

echo “intel” > /opt/unetlab/platform

If you get an output line with the word “amd”, then run:

echo “amd” > /opt/unetlab/platform

this should solve your problem with launching unl_wrapper -a fixpermissions
页: [1]
查看完整版本: 【求助】vSphere使用ios安装的eve,没有/opt/unetlab/platform文件