OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: reply2manish on July 15, 2020, 11:39:04 am

Title: Preinstall plugin in ISO
Post by: reply2manish on July 15, 2020, 11:39:04 am
Hello all.

I would like to add a plugin FRR which I want preinstalled (compiled) within the ISO, so once I install opnsense OS, the feature comes along with it, instead of adding the plugin manually.

Thanks
M
Title: Re: Preinstall plugin in ISO
Post by: mimugmail on July 15, 2020, 01:51:32 pm
The you have to build you own ISO:

https://github.com/opnsense/tools
Title: Re: Preinstall plugin in ISO
Post by: reply2manish on July 16, 2020, 10:31:15 am
Hi mimugmail,

Thanks for the reply. I did the same but it adds the plugin in the Firmware -> plugins.

What I want is pre-installed as default plugin / feature in the MENU.

I followed the instructions https://docs.opnsense.org/development/examples/helloworld.html to make my own plugin and tested it, but it did not install by default, instead it was found in Firmware -> plugins. to be installed manually.

Thanks
Title: Re: Preinstall plugin in ISO
Post by: Ralf Kirmis on July 16, 2020, 10:43:49 am
Hi,
you have to edit the Makefile in the /usr/tools dir
Please append in the section ADDITIONS?=
the line os-frr${SUFFIX} and build your iso.
Then the plugin should be installed by default.

regards,
Ralf
Title: Re: Preinstall plugin in ISO
Post by: reply2manish on July 17, 2020, 07:34:49 am
Hi,

Thanks for the info.

Will try and update.

Thanks again