Isolation: added option to disable tmpfs mount.

Now users can disable the default tmpfs mount point
in the rootfs.

  {
      "isolation": {
          "automount": {
              "tmpfs": false
          }
      }
  }
This commit is contained in:
Tiago Natel de Moura
2020-11-13 10:48:32 +00:00
parent d6829cc93b
commit 3837d28f9b
3 changed files with 35 additions and 21 deletions

View File

@@ -841,6 +841,9 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_app_automount_members[] = {
{
.name = nxt_string("language_deps"),
.type = NXT_CONF_VLDT_BOOLEAN,
}, {
.name = nxt_string("tmpfs"),
.type = NXT_CONF_VLDT_BOOLEAN,
},
NXT_CONF_VLDT_END