Clarified README.md around PlexPass version, renaming that to Beta, and added a note about hardware transcode
Changed the default jail name to 'pms' from 'plex' - this is beyond bizarre, pkg would not install anything if the jail was named 'plex' and there was a jail around that had been named 'plex' at some point. As this script may be used to migrate away from an existing plugin install, I changed the default jail name. Unclear whether issue is with FreeNAS 11.3-U1 or is being introduced by my CPE.
Because of that pkg issue above, played around with how the pkg gets installed, and ultimately left it with the changes though they weren't the cause of things. It now installs from latest to begin with, instead of doing an upgrade - faster, less things get downloaded, users sees install notes. Can be reverted, if you hate the idea.
A number of changes as I was trying to showcase your script in FreeNAS 11.3.
Added NETMASK parameter
Changed to default to a base jail - this is my preference, it seems 'cleaner' for long-running jails, see discussion at https://www.ixsystems.com/community/threads/iocage-jail-type-base-jail-vs-clone-which-to-choose.82639/
Clarified README.md around PlexPass version, renaming that to Beta, and added a note about hardware transcode
Changed the default jail name to 'pms' from 'plex' - this is beyond bizarre, pkg would not install anything if the jail was named 'plex' and there was a jail around that had been named 'plex' at some point. As this script may be used to migrate away from an existing plugin install, I changed the default jail name. Unclear whether issue is with FreeNAS 11.3-U1 or is being introduced by my CPE.
Because of that pkg issue above, played around with how the pkg gets installed, and ultimately left it with the changes though they weren't the cause of things. It now installs from latest to begin with, instead of doing an upgrade - faster, less things get downloaded, users sees install notes. Can be reverted, if you hate the idea.