From 64e25b8c1b3d7d7b72597e642169db069e37d5cf Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 7 Feb 2018 17:38:09 +0100 Subject: [PATCH] syscontainers, rhel: add ADDTL_MOUNTS This allows to accept additional mounts during creation. Signed-off-by: Giuseppe Scrivano --- contrib/system_containers/rhel/config.json.template | 1 + contrib/system_containers/rhel/manifest.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/system_containers/rhel/config.json.template b/contrib/system_containers/rhel/config.json.template index a5eb001e..a8295820 100644 --- a/contrib/system_containers/rhel/config.json.template +++ b/contrib/system_containers/rhel/config.json.template @@ -418,5 +418,6 @@ "source": "/proc", "type": "proc" } + $ADDTL_MOUNTS ] } diff --git a/contrib/system_containers/rhel/manifest.json b/contrib/system_containers/rhel/manifest.json index 727abf9e..4eb73ed6 100644 --- a/contrib/system_containers/rhel/manifest.json +++ b/contrib/system_containers/rhel/manifest.json @@ -5,6 +5,7 @@ "OPT_CNI": "/opt/cni", "VAR_LIB_CONTAINERS_STORAGE": "/var/lib/containers/storage", "VAR_LIB_ORIGIN": "/var/lib/origin", - "VAR_LIB_KUBE": "/var/lib/kubelet" + "VAR_LIB_KUBE": "/var/lib/kubelet", + "ADDTL_MOUNTS" : "" } }