Page 1 of 1

propagate changes in template to existing node

Posted: Mon Nov 16, 2020 3:01 pm
by kbmelati
Dear Eve-NG experts,

i have several question regarding template and node creation using qemu:

1. Can we change a template and then propagate the changes to existing node ?

2. if cannot, how can we ask eve to re-read template file to existing node (perhaps by right click and "reread" template) ?

3. can we modify individual qemu wrapper / qemu command ? lets say in templates it says "cpu = 1", and we modify some particular node qemu config and modify with " -smp 2" ?

4. where can we see error log of running qemu ? my nodes is started for a very shord period and then shutdown (probably because of template error). i checked file /opt/unetlab/data/Logs/unl_wrapper.txt but cannot see reasons why the node cannot started.

if using command line, for example :
"/opt/qemu-2.4.0/bin/qemu-system-x86_64 -d 0 -- -nographic -device e1000,netdev= ....", and the parameter is incorrect, qemu will tell the error and immediately exit. But at least we have got the error message and we can try fixing that.

thanks.

Re: propagate changes in template to existing node

Posted: Mon Nov 16, 2020 4:21 pm
by Uldis (UD)
You simply did not read eve cookbook.
You can modify templates and save own seetings, as well can create own templates duplicating it from originals...

Re: propagate changes in template to existing node

Posted: Mon Nov 16, 2020 4:30 pm
by kbmelati
Hi Uldis,

thanks for the answer.

i guess my question isn't clear enough.

here example:
1. i create node A, B, C and D based on template X.
2. i modify template X.
3. i create node J, K and L based on new template X.

current situation will:
node A, B and C using old X template.
and node J, K and L using new X template.

my question is can we update A, B and C so they will get updated X template ?

thanks.

Re: propagate changes in template to existing node

Posted: Mon Nov 16, 2020 7:58 pm
by Uldis (UD)
No.
To create such way, you must create different templates and clone image with diff name.

In the EVE is inclucded almost universal base template from which you can make any other template for node, A,B or C.
Templates and images are bound to the template name and image folder.
All info how to do it
is included in EVE Pro cookbook, section 17
https://www.eve-ng.net/index.php/docume ... -cookbook/
or for eve community
https://www.eve-ng.net/index.php/docume ... -cookbook/
section 14