@wayne-workman said in Resetting the Image numbers r4602:
SELECT imageID FROM images ORDER BY imageID LIMIT 1;
Can I just say thank you for this.
@wayne-workman said in Resetting the Image numbers r4602:
SELECT imageID FROM images ORDER BY imageID LIMIT 1;
Can I just say thank you for this.
@UserBxl May I suggest looking at the BIOS . I see you captured an EFI image. Just check the boot settings on the Lenovo make sure it is booting to EFI and not the Auto setting . Also check if secure boot has been disabled.
Hi guys
So I have been trying to capture this very specific image from a Lenovo (since it cannot take a generic image deployment ).
The drives are eMMC and the capture goes perfectly but looking at the image size it says that is 2.5gb where the space used on the disk is 51gbs.
When capturing I selected Single disk resizeable as I normally select. I uninstalled fog and installed the latest dev version.
It’s not like I am getting an error it just seems to be missing a partition.
Oh and I am not Sysprepping the image.
Any ideas ?
Kind regards
@Tom-Elliott Thank you , i will have a look
So I have a problem where we are deploying the machines but there is data still on a second HDD.
Is there a way in the deployment process to erase any other HDD in the computer at the same time ?
I know this would be a unique case example.
Hi Guys
I am trying to find the imaging logs of what hosts have been imaged but I noticed that when I ran the report it only shows the history of hosts still registered and displaying.
Ie. If I delete a host and then run an image report the host does not show up in the imaging log.
Is there a way to see all hosts registered/imaged even after they have been deleted and removed?
@george1421 said in Certificate of Data Destruction:
e also trivial: https://www.geeksforgeeks.org/php-send-atta
Thank you so much . Makes perfect sense. Let me try that way .
Hi Guys
I am trying to create a certificate of data destruction to prove that the PC has been cleaned when put through FOG. I wanted to know if this has been done by anyone before.
So to explain what I have tried I must first explain that I only use Fog through a bootable USB and not PXE boot.
So what I tried to do is create a template HTML file called cert.html in the service directory. I then modified the fog.man.reg file to run an AWK command (see below) to insert the variables into the HTML file and create a new HTML file. This so far has been unsuccessful. I will need to email the report which I will be able to trigger once I create the file.
Every time I run the command I get a FILE or Directory cannot be found.
Any ideas ?
Here is my code :
awk -v host=$host -v stockcode=$other1 '{sub(/DIGICODE/,host);sub(/SYSMAN/,stockcode); print }' ${web}service/cert.html >> ${web}service/cert_new.html
Hi Guys
I have a very strange one, the idea is that after I deploy the image I want to clear the hosts in the database so if I am using a USB-Ethernet adapter I do not have to log on and clear the previous hosts.
So I currently use the IPXE USB method : https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image
I have the script in the /var/www/fog/service/ folder … deletehosts.sh.
Now the script works from the server but I cannot for the life of me work out how to trigger the script from the fog.imgcomplete file on the USB.
Am I being stupid in trying technics such as string to use the following in the script?
${web}service/deletehosts.sh
I even tried Curl -s but I cannot seem to get it right . What would the correct syntax be.
@george1421 Thank you so much … I updated the to the latest ipxe and it sorted out the issue .