Uninstall FOG

Rerun the Installer
If you simply want to run the foginstaller.sh to update your FOG server settings, rename the hidden .fogsettings file located under /opt/fog/: sudo mv /opt/fog/.fogsettings /opt/fog/fogsettings-firstInstall

Remove FOG Completely
If you want to remove all services, blank the database, delete all files/folders associated with FOG and remove the fog user account:
 * 1) Uninstall FOG

sudo rm /etc/init.d/FOGImageReplicator sudo rm /etc/init.d/FOGMulticastManager sudo rm /etc/init.d/FOGScheduler
 * 1) remove service

sudo mysql drop database fog; quit
 * 1) delete fog database
 * 1) (or 'sudo mysql -p' if you set a root password for mysql)

sudo rm -rf /var/www/fog sudo rm -rf /var/www/html/fog sudo rm -rf /opt/fog sudo rm -rf /tftpboot sudo rm -rf /images #Warning, this line deletes any existing images.
 * 1) Remove files

sudo userdel fog
 * 1) delete fog system user