Modify check-config.sh in accordance with Moby Project updates
This commit modifies check-config.sh to keep up with current kernel config.
@@ -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[@]}"
