Not very important but was hoping to get some help on customizing the fog boot menu to adjust background image and color scheme
Finally got it to properly move the image thank you all for your help
@tom-elliott I used the sudo -i command and it requested my accounts password
@brendojohnso When you say you used “mv from the root command line” what do you mean? Did you login as the root user? (From ubuntu this might be something like open terminal, then run
sudo -iand enter your users password, or
su -and enter the root users password.)
@BrendoJohnso simply run
sudo mv ....where you replace
....with the correct arguments.
sudojust elevates a command to ensure it has root-level privileges.
@Tom-Elliott is correct that the GUI setting I pointed to is the best, and safest, approach for setting the option as the DB schema is subject to change with each FOG release.
@dahrell While the assistance is appreciated, I don’t think it proper to use mysql to update the field, s it leaves too much potential for mistakes. For example, if you forget the WHERE statement, you suddenly have ALL fog settings elements set to
'<backgroundimgfile.png>'which would, essentially, break FOG.
Dahrell last edited by Dahrell
Try adding the user you want to use the mv command with by first using:
sudo gpasswd -a <username> www-data
Where the <username> is replaced with the actual account name you want.
That may give it permissions to move files into folders owned by www-data.
Then do your mv command to move the file to the /var/www/fog/service/ipxe/ folder and run:
USE fog; UPDATE globalSettings SET settingValue = ‘<backgroundimgfile.png>’ WHERE (settingKey = ‘FOG_IPXE_BG_FILE’);
in the mysql prompt to update the file that is referenced for that setting.
@joe-schmitt I used mv from the root command line but it still wouldn’t properly work what would be the sudo command for moving it
@BrendoJohnso have you tried using
sudoor moving the png file as
wwwdirectory is owned by the
apacheuser, so your account won’t have permission to modify it by default.
I found those options but I’m unable to add say a background image to the folder because when moving the png file as it says I don’t have access to the folder with the account I built the computer with
@BrendoJohnso you can set those at
FOG Configuration -> iPXE General Configuration. The FOG client is also rebrandable through the