FOG Trunk background image.
-
Hi,
I have recently upgraded from FOG 1.2.0 to Trunk for the quick image feature, however the background image has reset. I have copied and replaced the bg.png in /var/www/fog/services/ipxe and made sure it is on bg.png in the management GUI.
The background remains the same, why is this?
Thanks,
Alex -
Can you confirm that your custom background is indeed in place on the fog server by opening a browser to http://<fog_server_ip>/fog/service/ipxe/bg.png?
[edit] corrected my dangling ( s )
-
It’s /var/www/fog/service/ipxe (singular service)
-
Hi George,
I used cp -i /home/deploymentsvr/Desktop/bg.png /var/www/fog/service/ipxe and it asked if i wanted to replace.
I selected y and did use sudo too so it should have replaced however when pathing to it like you said it is not the updated background.
Any thoughts?
-
Also when copying the file out, it shows the new updated one that I want to use.
-
@alexwarren Try removing the file, then copying it again.
If it still acts up see if copying it under a different name produces better results
-
@Quazz I’ll try that now and reply when done,
Thanks
-
@alexwarren said in FOG Trunk background image.:
Hi George,
I used cp -i /home/deploymentsvr/Desktop/bg.png /var/www/fog/service/ipxe and it asked if i wanted to replace.
I selected y and did use sudo too so it should have replaced however when pathing to it like you said it is not the updated background.
Any thoughts?
Oh, you replaced the image with a custom one? How about permissions and ownership?
-
@Wayne-Workman I used sudo cp -i and have removed and re-added it to no success (still the default background). How else would I add a custom background. I managed to do it in the bootmenu.class.php in 1.2.0
-
@alexwarren just for clarity the actual path (which should be the same as you have listed) is /var/www/html/fog/service/ipxe and from a browser http://<fog_server_ip>/fog/service/ipxe/bg.png If this is not loading your correct background then you need to traverse to the path I provided and post the output of
ls -la /var/www/html/fog/service/ipxe
-
@alexwarren said in FOG Trunk background image.:
@Wayne-Workman I used sudo cp -i and have removed and re-added it to no success (still the default background). How else would I add a custom background. I managed to do it in the bootmenu.class.php in 1.2.0
That image file is what you need, no need to mess with any code now days. You need to get the URL i just posted to pull the correct image then you are done.
-
@Wayne-Workman Would the command for chown on the bg.png be the fog:root? (for clarification)
chown -R fog:root <Path to file>???
-
@adukes40 I’m just guessing because I’m not at a comp, I think fog:apache 770.
-
@george1421 Thanks George, thats solved it. I wasn’t using the /html/fog. Is this a trunk update that has included it in the html folder or just my mistake?
Sorry for asking such basic questions, i’ve only learnt a bit of ubuntu to get the server running
-
@alexwarren That is an Ubuntu 14.04 change that caused FOG to change to use the /html/fog