chcon -R -t httpd_sys_content_t vagrant
$ mount /dev/sda2 /vagrant/ -o defcontext="system_u:object_r:httpd_sys_content_t:s0"
apache
mount server:/export /vagrant -o context="system_u:object_r:httpd_sys_content_t:s0"
https://github.com/hashicorp/vagrant/issues/6970
https://github.com/hashicorp/vagrant/issues/6970
No comments :
Post a Comment