Page 1 of 1

startup config in custom template is not working

Posted: Wed Apr 06, 2022 11:13 pm
by binoopang
Hello, I'm using eve-ng pro 4.0.1-50.

I've created a custom template for the router device called `vmxtest`.

Everything, except startup-config, works fine. I can allocate nodes from `vmxtest` and I can run them.

If I enable startup config, the config script started with the device boot-up. But it fails to mount CD(iso9660) device.
Since it fails to mount the cd device, it is unable to read the config script and thus, fails to apply startup configuration.

I have inspect the file system by visiting /opt/unetlab/tmp/id/lab-id/node-id. Node from the `vmx` template, has
`config.iso`. But the Node from the custom template, I can't find the `config.iso` and also juniper.conf. it only has `startup-config`.

I think eve-ng missed creating `config.iso` when the node was allocated from the custom template. Is there a workaround for it?

Thank you.

Re: startup config in custom template is not working

Posted: Thu Apr 07, 2022 6:21 am
by Uldis (UD)
Startup configs are suppported by certain images only
https://www.eve-ng.net/index.php/docume ... gurations/