Page 1 of 1

Created new image but it doesn't show on map

Posted: Sun Sep 02, 2018 4:47 am
by jacksonp2008
created opt/unetlab/html/templates/ct.php
$p['type'] = 'qemu';
$p['name'] = 'CTX';
$p['cpulimit'] = 1;
$p['icon'] = 'ctx.png';
$p['cpu'] = 4;
$p['ram'] = 3072;
$p['ethernet'] = 1;
$p['console'] = 'vnc';
$p['qemu_arch'] = 'x86_64';
$p['qemu_nic'] = 'e1000-82545em';
$p['qemu_options'] = '--machine pc-q35-2.4,accel=kvm -cpu Penryn,vendor=GenuineIntel -smp 4,cores=2 -usb -device usb-kbd -usbdevice tablet -smbios type=2 -nodefaults -vga std';
created /opt/unetlab/html/includes/config.php

$custom_templates = Array(
'ct' => 'ct test'
);
I even restart the machine, when I try to add a node to the map there is no "ct test" that shows up.

Did I miss a step?

thanks!

Re: Created new image but it doesn't show on map

Posted: Sun Sep 02, 2018 8:10 am
by Uldis (UD)
check our cookbook section 16.3
http://www.eve-ng.net/images/EVE-COOK-BOOK-1.2.pdf

Uldis

Re: Created new image but it doesn't show on map

Posted: Wed Sep 05, 2018 11:05 pm
by jacksonp2008
Thats exactly what I did as you can see from the snippets.