FOG configuration spans installer-generated settings, web application config, and imaging service network setup.
¶ Main Configuration Paths
- Installer settings snapshot:
/opt/fog/.fogsettings
- Web app config (common path):
/var/www/html/fog/lib/fog/config.class.php
- Image storage path:
/images
- Database connection and credentials
- FOG storage node/image path settings
- Web URL and API/security settings
- PXE boot and service integration parameters
sudo test -f /opt/fog/.fogsettings && echo "fogsettings present"
sudo ls -ld /images /images/dev
sudo grep -E "FOG_(DB|WEB)" /opt/fog/.fogsettings 2>/dev/null
- Keep FOG on dedicated imaging VLAN/subnet.
- Restrict write access to image storage directories.
- Track image versioning and deployment changes.