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

    Computer name being overwritten by image rather than fog database

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    14
    4.9k
    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.
    • JunkhackerJ
      Junkhacker Developer
      last edited by

      the service is typically installed before you create the image, so all hosts will have it installed. on first boot, the service will attempt to check in with the fog server over http to check if the computer has the correct name on every boot.

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

      1 Reply Last reply Reply Quote 0
      • C
        Chris Shanks
        last edited by

        This is my problem, once the device has restarted post imaging, it usually gets unplugged and sent out to site so doesn’t see the fog server until it next gets imaged.

        1 Reply Last reply Reply Quote 0
        • Joseph HalesJ
          Joseph Hales Testers
          last edited by

          Hostname changer is quick it only needs to be up for a few mins before it renames itself and restarts itself again.

          RTFM

          1 Reply Last reply Reply Quote 0
          • JunkhackerJ
            Junkhacker Developer
            last edited by

            i’m tracking down why the early hostname change isn’t working and trying to create a fix. you’ll need to update your server to get it when it’s finished.

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

            1 Reply Last reply Reply Quote 0
            • C
              Chris Shanks
              last edited by

              Ok, thank you a million. I have just run another test, manually changed the computer name to 12345 and post imaging it has become the same as the master image computer name.

              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                [quote=“Junkhacker, post: 44558, member: 21583”]i’m tracking down why the early hostname change isn’t working and trying to create a fix. you’ll need to update your server to get it when it’s finished.[/quote]

                From what it sounds like (to me, anyways) is that the hostname changer (immediately after imaging completes) is looking to change the name on the C:\ partition, where Windows core files are normally located.

                Chris Shanks said he changed the location to E:.

                I think FOG is just trying in the wrong place…

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • C
                  Chris Shanks
                  last edited by

                  Sort of, the core windows registry files where the computer name is stored are still saved on the C drive however I have made a different partition the “active” partition to allow the advanced repair options available when F8 is pressed during boot.

                  However the pc still boots from the C drive and I would like the computer name on the same drive to match the ID on fog rather than the master image.

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

                    If the image is sysprepped, this may explain the hostname not reflecting directly after imaging completes. It’s taking the information of the unattend file (if used) or generating a random one, or awaiting entry of one as the system loads up the first time.

                    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
                    • C
                      Chris Shanks
                      last edited by

                      I don’t use sysprep or any other file/system. Up to this point fog has just worked ( as it’s so well built 😛 ) and the computer name has been changed to reflect the host name from the server.

                      1 Reply Last reply Reply Quote 0
                      • JunkhackerJ
                        Junkhacker Developer
                        last edited by

                        i am currently testing what i suspect to not be working

                        signature:
                        Junkhacker
                        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        141

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project