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

    Revisiting Quick Registration Host Naming

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    4
    711
    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.
    • ?
      A Former User
      last edited by

      There was a modification made long ago allowing us to apply variables to the host name in Quick Registration using curly brackets.

      This was a tremendously awesome idea. I was going to modify the files myself, however the files in question have since (it’s been 6 years) been completely rewritten. I can see in the Registration class the pretty simply code to modify, however I’m not sure if at that point it is possible to pull things like the serial number from the Inventory class.

      Any suggestions? Is this functionality somewhere else that I’ve somehow completely missed? I should also note, I will be unable to install the FOG client on the machines, as per company policy outside of my control.

      After applying the image the machines are automatically renamed upon first boot using their serial number–another item I’m not able to change. So, I have computers already set up with the proper host names and I’d very much like their records in FOG to correspond.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        This is something I’ve been meaning to add, but shy away from to ensure the imaging stuff is “perfected” first.

        The idea, however, would be to send the respective element as it’s collected in the inventory class.

        I’m holding off on this until I get imaging back to more ‘reliable’.

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by A Former User

          I suppose I could modify the inventory class to change the host name when it initially collects that information? Off the top of your head, would that break anything? I would assume not.

          I’m only pushing this because I just discovered FOG and it is a perfect fit for my scenario. It would make my team truly pleased. 😄

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @A Former User
            last edited by

            @WillB I have asked for this in the past too (via feature request). I used this function back in the 0.29-0.30 era and it worked great because our system names are based on a OU prefix plus the dell asset tag.

            There are other ways to get this to work, some manual some using postinstall scripts. It would be better to have that function back in FOG (IMO). But as Tom says, imaging comes first.

            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 / 1
            • First post
              Last post

            140

            Online

            12.1k

            Users

            17.3k

            Topics

            155.3k

            Posts
            Copyright © 2012-2024 FOG Project