From 30817421efbc761c0adcb1d67b8ef84ae32171be Mon Sep 17 00:00:00 2001 From: Kenta Tada Date: Fri, 30 Nov 2018 16:38:19 +0900 Subject: [PATCH] Modify check-config.sh in accordance with Moby Project updates This commit modifies check-config.sh to keep up with current kernel config. Signed-off-by: Kenta Tada --- script/check-config.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/script/check-config.sh b/script/check-config.sh index bb7552b5204..6b8158e3182 100755 --- a/script/check-config.sh +++ b/script/check-config.sh @@ -198,10 +198,10 @@ flags=( NAMESPACES {NET,PID,IPC,UTS}_NS CGROUPS CGROUP_CPUACCT CGROUP_DEVICE CGROUP_FREEZER CGROUP_SCHED CPUSETS MEMCG KEYS - MACVLAN VETH BRIDGE BRIDGE_NETFILTER + VETH BRIDGE BRIDGE_NETFILTER NF_NAT_IPV4 IP_NF_FILTER IP_NF_TARGET_MASQUERADE - NETFILTER_XT_MATCH_{ADDRTYPE,CONNTRACK} - NF_NAT NF_NAT_NEEDED + NETFILTER_XT_MATCH_{ADDRTYPE,CONNTRACK,IPVS} + IP_NF_NAT NF_NAT NF_NAT_NEEDED # required for bind-mounting /dev/mqueue into containers POSIX_MQUEUE @@ -243,5 +243,11 @@ flags=( CGROUP_HUGETLB NET_CLS_CGROUP $netprio CFS_BANDWIDTH FAIR_GROUP_SCHED RT_GROUP_SCHED + IP_NF_TARGET_REDIRECT + IP_VS + IP_VS_NFCT + IP_VS_PROTO_TCP + IP_VS_PROTO_UDP + IP_VS_RR ) check_flags "${flags[@]}"