• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Fog quick image password not working

Scheduled Pinned Locked Moved
FOG Problems
3
22
3.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Sebastian Roth Moderator
    last edited by Sebastian Roth Apr 27, 2022, 11:22 PM Apr 28, 2022, 5:20 AM

    @Strahd Ok, this one is pretty similar but it can only be fixed in the code. But before I ask you to update to the latest dev-branch version we should better try a manual fix for you. Can you please edit /var/www/fog/lib/fog/bootmenu.class.php and jump to line 1056 or search for “param imageID”.

    Here is how the code should look like originally: https://github.com/FOGProject/fogproject/blob/master/packages/web/lib/fog/bootmenu.class.php#L1062

    Please add that single one line (or all three if you add the comments as well) after line 1062 like this:

    ...
                            'param imageID ${imageID}',
                            'param qihost 1',
                            'param username ${username}',
                            'param password ${password}',
                            'param sysuuid ${uuid}',
                            'isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme',
                            'isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme',
    // add line START
                            'goto bootme',
    // add line END
                        );
                        unset($Image);
    
    ...
    

    Just save the changes, no need to reboot the server or anything. Changes are life right away. If you mess with the code it will break PXE booting for any client.

    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

    G 1 Reply Last reply Apr 28, 2022, 10:06 AM Reply Quote 1
    • G
      george1421 Moderator @Sebastian Roth
      last edited by Apr 28, 2022, 10:06 AM

      @sebastian-roth said in Fog quick image password not working:

      If you mess with the code it will break PXE booting for any client.

      @Strahd if you get into a situation where the file doesn’t get updated correctly and its messed up, simply rerun the FOG installer script and it will fix (return it back to the standard programming code) things for you.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      1 Reply Last reply Reply Quote 0
      • 1
      • 2
      • 2 / 2
      2 / 2
      • First post
        21/22
        Last post

      169

      Online

      12.1k

      Users

      17.3k

      Topics

      155.3k

      Posts
      Copyright © 2012-2024 FOG Project