cuckoobox/cuckoo — pull request #126 by kholbrook1303 (2013-06-22 02:32:47+00:00)
Title: Mitrecnd fog dev

Ok I did some testing and I have to say, this works well but may not be the most preferred method. The main issue is that FOG does not just write a task to the DB, but it also drops a configuration file to the tftpboot location for imaging instruction. If you follow these steps to prepare for this change, everything should go as expected.

Prep:
First, download MySQLDB for python (apt-get install python-mysqldb)
Second, setup a quick image task for your machine.
Third, Goto /tftpboot/pxelinux.cfg/ and copy all the files except default and paste them to /opt/cuckoo/data/pxecfg/ (Will need to create this directory; These are the pxe boot config file (s))

Once this has been accomplished, the only other config is in the fog.conf for the MySQL credentials. I have defaulted root with no pass as that would match a default installation of fog.