Working with lists in Jinja2

Working with lists in Jinja2 is really simple if you are using the following trick.

{%- set vfs_objects = [] %}
{%- if share.recyclebin | to_bool %}
{%- set _ = vfs_objects.append('recycle') %}
...
{%- endif %}
{%- if share.audit | to_bool %}
{%- set _ = vfs_objects.append('full_audit') %}
...
{%- endif %}
vfs objects = {{ vfs_objects | join(' ') }}

 

New updates available

The following changes were made:

openmediavault 3.0.91

  • Mantis 0001841: Firewall rules created in random order after reboot.

openmediavault-lvm2 3.2.5

  • Fix issue when getting the VG device file.

EOL for iSCSI target plugin in OMV3

The iSCSI target plugin will not be available in OMV4 because it needs to be refactored from scratch for Debian 9 due the fact that the iscsitarget package, on which it is based on, has been dropped. With OMV5 the internals will change dramatically which will require a refactoring of the plugin again. Currently there is no time to handle that, thus the plugin will not be back before OMV5.

New update available

The following changes were made:

openmediavault 3.0.90

  • Various improvements.
  • Mantis 0001824: File System tab page 2 not accessible.
  • Mantis 0001836: Private key is removed after modification of comment.
  • Mantis 0001837: Wrong permissions of default SSL certificate.