美文网首页
k8s 集群 openstack集群一定注意先关闭selinux

k8s 集群 openstack集群一定注意先关闭selinux

作者: cloudFans | 来源:发表于2022-09-29 19:43 被阅读0次

ansible all -i inventory/env-inner-prod-on-prem/inventory.ini -m shell -a "sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config"
ansible all -i inventory/env-inner-prod-on-prem/inventory.ini -m shell -a "cat /etc/selinux/config| grep disabled"
ansible all -i inventory/env-inner-prod-on-prem/inventory.ini -m shell -a "reboot"
ansible all -i inventory/env-inner-prod-on-prem/inventory.ini -m shell -a "getenforce"

十分影响性能,开闭对比

相关文章

网友评论

      本文标题:k8s 集群 openstack集群一定注意先关闭selinux

      本文链接:https://www.haomeiwen.com/subject/mwcrartx.html