EVE-NG-中文网论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 10475|回复: 2

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

[复制链接]
发表于 2022-3-7 10:43:34 | 显示全部楼层 |阅读模式
vSphere无法使用ovf和ova安装,貌似是兼容性问题;使用ios安装完,执行/opt/unetlab/wrappers/unl_wrapper -a fixpermissions报错;
检查/opt/unetlab/目录,确实没有/opt/unetlab/platform文件;
大神知道如何解决?
Eve-NG中文网1群(满): 19257240 Eve-NG中文网

Eve-NG中文网2群(满): 550154577EVE-NG中文网2群

Eve-NG中文网3群(满): 17704172 EVE-NG中文网3群

回复

使用道具 举报

 楼主| 发表于 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
Eve-NG中文网1群(满): 19257240 Eve-NG中文网

Eve-NG中文网2群(满): 550154577EVE-NG中文网2群

Eve-NG中文网3群(满): 17704172 EVE-NG中文网3群

回复

使用道具 举报

发表于 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
Eve-NG中文网1群(满): 19257240 Eve-NG中文网

Eve-NG中文网2群(满): 550154577EVE-NG中文网2群

Eve-NG中文网3群(满): 17704172 EVE-NG中文网3群

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|EVE-NG-中文网论坛

GMT+8, 2026-5-4 03:49 , Processed in 0.033979 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2017 Discuz Team. Template By 【未来科技】【 www.wekei.cn 】

快速回复 返回顶部 返回列表