Subscription and foreign repositories

As well as the usual array of repositories set up by NS, I have added a couple of others to either add components (wireguard) that aren’t available in CentOS or ones (tor) that are outdated. Even though these were initially set up as enabled, they are now set to disabled. I’m fairly sure that this is the subscription process ensuring that only the correct repositories are accessed.

Is there any way to tell that process, yes these aren’t the repositories you’re looking for, but I know what they are and I’d like you to trust them please when you’re checking for updates.

Or do I need to add my own cron scripts (or similar) to do that check process on a regular basis.


It shall be possible by creating a templates-custom for /etc/nethserver/eorepo.conf. One option could be something like this:

mkdir -p /etc/e-smith/templates-custom/etc/nethserver/eorepo.conf/
vi /etc/e-smith/templates-custom/etc/nethserver/eorepo.conf/99custom
# on this file, set repos' name (one per line).
signal-event nethserver-subscription-save

Check nethserver-subscription — NethServer 7 documentation

EDIT: On nethserver-dolibarr wiki you can find another example:

drop a file /etc/e-smith/templates/etc/nethserver/eorepo.conf/10dolibarr

# enable the stephdl-dolibarr  repo

push @repos, 'stephdl-dolibarr';


do a signal signal-event software-repos-save