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'
);
?>
custom template error
Moderator: mike
-
- Posts: 20
- Joined: Fri Apr 07, 2017 2:47 pm
custom template error
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5068
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: custom template error
You must read eve cookbook dear
all is diff way now
All templates for viptela are included in new eve versions
and community and pro
all is diff way now
All templates for viptela are included in new eve versions
and community and pro
-
- Posts: 5068
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: custom template error
vsmart template content:
---
type: qemu
name: vSmart
cpulimit: 1
icon: vSmart.png
cpu: 2
ram: 2048
ethernet: 2
eth_format: eth{0}
console: telnet
shutdown: 1
qemu_arch: x86_64
qemu_version: 2.12.0
qemu_nic: virtio-net-pci
qemu_options: -machine type=pc,accel=kvm -cpu host -vga std -usbdevice tablet -boot order=dc -cpu host
...
and follow syntax DEAR !!!
In your template is wrong NAME !
case sensitive in linux
Read cook book mate
init file as well is scred
---
type: qemu
name: vSmart
cpulimit: 1
icon: vSmart.png
cpu: 2
ram: 2048
ethernet: 2
eth_format: eth{0}
console: telnet
shutdown: 1
qemu_arch: x86_64
qemu_version: 2.12.0
qemu_nic: virtio-net-pci
qemu_options: -machine type=pc,accel=kvm -cpu host -vga std -usbdevice tablet -boot order=dc -cpu host
...
and follow syntax DEAR !!!
In your template is wrong NAME !
case sensitive in linux
Read cook book mate
init file as well is scred