Add user namespace check to check-chonfig.sh
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
parent
ed9434c5bb
commit
d475c4ddc1
1 changed files with 3 additions and 3 deletions
|
@ -180,6 +180,9 @@ check_flags "${flags[@]}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
echo 'Optional Features:'
|
echo 'Optional Features:'
|
||||||
|
{
|
||||||
|
check_flags USER_NS
|
||||||
|
}
|
||||||
{
|
{
|
||||||
check_flags MEMCG_KMEM MEMCG_SWAP MEMCG_SWAP_ENABLED
|
check_flags MEMCG_KMEM MEMCG_SWAP MEMCG_SWAP_ENABLED
|
||||||
if is_set MEMCG_SWAP && ! is_set MEMCG_SWAP_ENABLED; then
|
if is_set MEMCG_SWAP && ! is_set MEMCG_SWAP_ENABLED; then
|
||||||
|
@ -240,6 +243,3 @@ echo '- Storage Drivers:'
|
||||||
} | sed 's/^/ /'
|
} | sed 's/^/ /'
|
||||||
echo
|
echo
|
||||||
|
|
||||||
#echo 'Potential Future Features:'
|
|
||||||
#check_flags USER_NS
|
|
||||||
#echo
|
|
||||||
|
|
Loading…
Reference in a new issue