What did I miss here? config with only vbond so far:
Code: Select all
u# cat /opt/unetlab/html/includes/config.php
<?php
// TEMPLATE MODE .missing or .hided
DEFINE('TEMPLATE_DISABLED','.hided') ;
/* Define custom templates:
*
* Create for exemple /opt/unetlab/html/templates/mytemplate.yaml and Create /opt/unetlab/html/templates/othertemplate.yaml
* Then uncomment lines below
*/
$custom_templates = Array(
'vtbond-19.2' => 'vtBond-19.2'
);
?>
Code: Select all
u# pwd
/opt/unetlab/qemu
root@eve-ng:/opt/unetlab/qemu# ll
totalt 24
drwxr-xr-x 6 root root 4096 sep 25 23:38 ./
drwxr-xr-x 11 root root 4096 sep 25 22:24 ../
drwxr-xr-x 2 root root 4096 sep 25 22:25 vtbond-19.2/
drwxr-xr-x 2 root root 4096 sep 25 22:26 vtedge-19.2/
drwxr-xr-x 2 root root 4096 sep 25 22:28 vtmgmt-19.2/
drwxr-xr-x 2 root root 4096 sep 25 22:27 vtsmart-19.2/
# pwd
/opt/unetlab/qemu/vtbond-19.2
root@eve-ng:/opt/unetlab/qemu/vtbond-19.2# ll
totalt 321736
drwxr-xr-x 2 root root 4096 sep 25 22:25 ./
drwxr-xr-x 6 root root 4096 sep 25 23:38 ../
-rw-r--r-- 1 root root 329449472 sep 25 22:03 hda.qcow2
root@eve-ng:/opt/unetlab/qemu/vtbond-19.2#
# pwd
/opt/unetlab/qemu/vtbond-19.2
root@eve-ng:/opt/unetlab/qemu/vtbond-19.2# ll
totalt 321736
drwxr-xr-x 2 root root 4096 sep 25 22:25 ./
drwxr-xr-x 6 root root 4096 sep 25 23:38 ../
-rw-r--r-- 1 root root 329449472 sep 25 22:03 hda.qcow2
root@eve-ng:/opt/unetlab/qemu/vtbond-19.2#
Code: Select all
s# pwd
/opt/unetlab/html/templates
root@eve-ng:/opt/unetlab/html/templates# ll vtbond-19.2.yml
-rw-r--r-- 1 root root 1869 sep 25 23:34 vtbond-19.2.yml
root@eve-ng:/opt/unetlab/html/templates# cat vtbond-19.2.yml
# Copyright (c) 2016, Andrea Dainese
# Copyright (c) 2018, Alain Degreffe
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of the UNetLab Ltd nor the name of EVE-NG Ltd nor the
# names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
---
type: qemu
name: vtbond-19.2
cpulimit: 1
icon: vBond.png
cpu: 2
ram: 2048
ethernet: 2
eth_name:
- eth0
eth_format: ge0/{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 -vga std -usbdevice tablet -boot order=dc
root@eve-ng:/opt/unetlab/html/templates#