Hi OPNsense Team,
Can you please tell me the correct process to add the AdvancedTomato theme (from misc/theme-advanced) into the OPNsense source code and Set advanced Theme as Default in OPNsense, so it gets included when I build the ISO?
I want to make sure the theme is properly built, installed, and visible in the web interface after installation.
Thank you.
Best regards,
Raushan Patel
See https://github.com/opnsense/tools for how you can use the build option ADDITIONS to include additional packages.
As for making the theme default, you can edit src/etc/config.xml.sample (in opnsense/core) before building core.
Cheers
Maurice
This is the config.xml.sample file. Now tell me what i can add on this theme section example I choose Advanced themes so what i can edit and add here text, because opnsense by default add only 2 themse opnsense opnsense-dark in path .if any other step to do by default this please tell me know about
<?xml version="1.0"?>
<opnsense>
<trigger_initial_wizard/>
<theme>opnsense</theme>
<sysctl/>
<system>
<optimization>normal</optimization>
<hostname>OPNsense</hostname>
<domain>internal</domain>
<dnsallowoverride>1</dnsallowoverride>
<dnsallowoverride_exclude/>
<group>
<name>admins</name>
<description><![CDATA[System Administrators]]></description>
<scope>system</scope>
<gid>1999</gid>
<member>0</member>
<priv>page-all</priv>
</group>
Simply set the desired theme on a running OPNsense system and check what is added to the config.xml.
I'm not understand what you talking the process i follow, i ask you tell me the steps and how can i add set by default advanced themes because by default set themes opnsense
extras.conf modifies the default configuration if you need to
https://github.com/opnsense/tools/blob/master/config/25.7/extras.conf
You could also modify the ports package you're building to include the right config.xml.sample.
More than one way to get to Rome. ;)
Cheers,
Franco