Wednesday, October 05, 2011

PXE Dust at Midnight

The new PXE install server is finally working! The final problem turned out to be an SElinux issue with Apache.

It seems Apache doesn't like to serve files from an iso image mounted on a loopback device, unless you set the SElinux context in the mount options:

mount -o ro,loop,context=system_u:object_r:httpd_sys_content_t Cent OS-6.0-x86_64-bin-DVD1.iso dvd1

No comments: