Bypass host registration and password



  • Hi all,

    I’m looking for a fully automatic solution to deploy one image on several machines.

    At this moment, the only thing that prevent it from my goal is the need to registrar every host, and enter the FOG credentials to deploy an image.

    There is any way to bypass those tow?
    I’m on the 1.5.4 version and the server is running on centos 7 machine.

    Thanks



  • @george1421 This one solved it.
    Thanks!


  • Moderator

    @gozalitos Hmmm that’s strange it should work.

    Here is another example: https://forums.fogproject.org/topic/4433/is-it-possible-to-remove-the-fog-quick-image-password/30

    This one is using the set command to assign the variable before the params command. Maybe I missed that one.



  • Thank you for your answer George, and for your blessing work here in the forum.
    Somehow it didn’t solved this issue.

    After the change, I manged to pass the user login screen to the images select screen, but right after I choose the image to deploy I’m getting a screen with the error “invalid login! … restart in 10sec”…

    Any other suggestions?

    Btw, I don’t need the option to mange the hosts after the deployment.

    Thanks


  • Moderator

    Are you functioning as a PC repair shop where once you image a machine yo will never see it again or need to manage it with fog once its imaged?

    If so, on the FOG iPXE menu there is an option to Deploy Image. From that menu you can select any image in the catalog and push that out to the target computer registration in FOG is not required. You will have to enter a user ID and Password in that menu, but there is a way to bypass that password requirement too.

    1. Edit the fog.deployimage iPXE menu entry in the fog configurations menu.
    2. In the Parameter fields remove the login action.
    3. In the Parameters field replace
    param username ${username}
    param password ${password}
    

    with

    param username <username>
    param password <password>
    

    Where <username> and <password> are the correct for your installation of fog.
    4. Save the Changes
    5. Done


Log in to reply
 

510
Online

5.9k
Users

13.3k
Topics

125.1k
Posts