Isolation: added option to disable "procfs" mount.

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

 {
     "isolation": {
         "automount": {
             "procfs": false
         }
     }
 }
This commit is contained in:
Tiago Natel de Moura
2020-11-16 17:56:12 +00:00
parent bbc29df8fe
commit e7d66acda7
3 changed files with 33 additions and 20 deletions

View File

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