I have added something similar to my tasks.advanced.include.php file and it works like a charm, my code is near on the same.
Best posts made by Terry Bates
Latest posts made by Terry Bates
RE: Global Snap-in Deployment
Please read your related post in the Technical help section.
RE: Doing magic with Fog - But simplest things stumping me
I added the following to /var/www/fog/management/includes/tasks.advanced.include.php around line 165, i’m using FOG 0.32, seems to work a treat, not sure why its not included in the standard build.
<td class=“c”><a href="?node=tasks&type=group&direction=onesnap&noconfirm=<?php print $groupid; ?>"><img src="./images/snap.png" /><p><?php print _(‘Deploy Single Snapin’); ?></p></a></td>
<td><p><?php print _(‘This option allows you to send a single snapin to a Group. (Requires FOG Service to be installed on client)’); ?></p></td>
Would love to know how you have added extra info to the database I would like to add a location to the hosts section so I know where my computers are, have requested the feature maybe you can help [url]http://fogproject.org/forum/threads/location-information-for-each-host.913/[/url]
Location information for each host.
This is a pretty simple feature I would like to request.
Is it possible to add a location field into the General section for a host.
Would also be nice if it showed when all hosts were listed.
I know you are rewriting the web interface at the moment so I thought I better get in quick.
RE: Where does surface check report to?
Is it possible to turn this into a feature request/improvement?
It would be nice if the results of the disk surface test were dumped into a nicely named text file on the FOG server.
Even better features would be.
- Results displayed in reports section.
- Change the status of computers that have failed the test.
- Options to change the surface scan parameters.
- Email alerts.
But hey I would be happy with the text output, I don’t really want to sit in front of computers waiting for the scan to finish.
P.S. Thanks Robin Commander I will be looking into your method in the mean time.
RE: Adding drivers at the end of an restore.
Had some time today, added this to my fog script
[CODE] if [ “$type” == “down” ];
# Windows XP
if [ “$osid” == “1” ]; then
echo " * Copying driver files";
ntfs-3g -o force,rw $part /ntfs
mkdir -p /ntfs/sysprep/drivers
cp -R -f /images/drivers/* /ntfs/sysprep/drivers
It seems to work well, will probably expand on this in the future, might even send through page for your wiki with what I’m doing for deploying images.