syscontainers, centos: add ADDTL_MOUNTS

This allows to accept additional mounts during creation.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2018-02-07 17:37:29 +01:00
parent eaf5b08c8f
commit caf5615704
No known key found for this signature in database
GPG key ID: 263D6DF2E163E1EA
2 changed files with 3 additions and 1 deletions

View file

@ -423,5 +423,6 @@
"source": "/proc", "source": "/proc",
"type": "proc" "type": "proc"
} }
$ADDTL_MOUNTS
] ]
} }

View file

@ -5,6 +5,7 @@
"OPT_CNI" : "/opt/cni", "OPT_CNI" : "/opt/cni",
"VAR_LIB_CONTAINERS_STORAGE" : "/var/lib/containers/storage", "VAR_LIB_CONTAINERS_STORAGE" : "/var/lib/containers/storage",
"VAR_LIB_ORIGIN" : "/var/lib/origin", "VAR_LIB_ORIGIN" : "/var/lib/origin",
"VAR_LIB_KUBE" : "/var/lib/kubelet" "VAR_LIB_KUBE" : "/var/lib/kubelet",
"ADDTL_MOUNTS" : ""
} }
} }