Update a plugin that received modifications

vleon

Cadet
Joined
Mar 12, 2019
Messages
1
Hi all,

I have a pretty standard setup: FreeNAS 11.2-STABLE with some iocage plugins. For one of them, transmission, I made a modification to install nginx as a reverse proxy in order to enable TLS. However, whenever I update my jails with iocage update, it removes any extra package (including nginx):

Code:
$ sudo iocage update transmission
Password:
Snapshotting transmission...
Updating plugin INDEX...
Removing old pkgs...
Installing new pkgs...

Testing SRV response to iocage-plugins
Testing DNSSEC response to iocage-plugins

Installing plugin packages:
  - net-p2p/transmission-daemon...
  - www/transmission-web...
Updating plugin artifact...

Branch 11.2-RELEASE does not exist at https://github.com/freenas/iocage-plugin-transmission.git!
Using "master" branch for plugin, this may not work with your RELEASE

transmission has been updated successfully.
$


Is there a way to configure a plugin so that it does not removes extra packages? Or am I using the plugin system incorrectly?
 
D

dlavigne

Guest
This is how iocage works. However, it also creates a snapshot of your current jail before updating. We're planning to make this easier from the UI by adding a button to mount an iocage snapshot so that you can easily grab custom configs from the earlier versions.
 
Top