custom template error

Features you'd like to see in the upcoming version of EVE-NG

Moderator: mike

Post Reply
xuyou
Posts: 20
Joined: Fri Apr 07, 2017 2:47 pm

custom template error

Post by xuyou » Thu Sep 12, 2019 5:09 pm

Hi,I follow the guide created yml and php,but when I edd node,it print error,could anyone help me?

——————————————
type: qemu
name: vtsmart
cpulimit: 1
icon: vsmart.png
cpu:1
ram: 2048
ethernet: 7
eth_name:
eth_format:eth{0}
console: telnet
shutdown: 1
qemu_arch: x86_64
qemu_arch:2.12.0
qemu_nic: virtio-net-pci
qemu_options: -machine type=pc,accel=kvm -vga std -usbdevice tablet -boot order=dc
————————————————
<?php
/* TEMPLATE MODE .missing or .hided
*
* .hided: will hide all template not present on system ( no image installed )
* .missing: will display not selectable template not present ( no image installed )
*
*/
DEFINE('TEMPLATE_DISABLED','.missing') ;

/* Define custom templates:
*
* Create for exemple /opt/unetlab/html/templates/mytemplate.php and Create
/opt/unetlab/html/templates/othertemplate.php
* Then uncomment lines below
*/
$custom_templates = Array(
'vtsmart' => 'Cisco vSmart','vtmgmt' => 'Cisco vNMS','vtedge' => 'Cisco Edge','vtbond' => 'Cisco vBond'
);
?>
You do not have the required permissions to view the files attached to this post.

Post Reply