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

    Renaming makes makes renaming work?

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    14
    4.2k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      Is hostname early enabled, and the hostname is set to the proper hostname?

      Or is hostname still shows up as your “jumbled letters and numbers”?

      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
      • J
        Josh Davis
        last edited by

        Yes hostname early is enabled I just disabled it to see what happens.
        Yes, after I manually rename the computer to anything, the fog client for some reason starts working and renames it again to the proper name listed in fog. I’ve played with this for hours and tried numerous different things. The only way I can get the fog renaming service to “kick in” is to first rename the computer myself. I’ve tested lots of different variables and I’m sure it doesn’t matter what I manually rename it to or what the computer is named before I manually rename it. Simply the act of renaming the computer somehow “unlocks” the fog client. I’m attaching the fog log that is generated before I manually rename the computer. If you read it you can see that for some reason the hostname changer thinks that the name is already correct until I change the name to anything else and then it works fine.

        [url=“/_imported_xf_attachments/1/1119_fog.log.txt?:”]fog.log.txt[/url]

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

          Is this image sysprepped?

          I ask because that error means “The step (Join Domain or Workgroup) must be running in full OS”

          So is your sysprep file joining the system to the domain?

          Also, what version of the FOG Client are you running on your hosts?

          Also, are you trying to have host automatically join to OU?

          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
          • J
            Josh Davis
            last edited by

            yes the image is sysprepped

            No the unattend file shouldn’t add to the domain and I’m actually deploying an image that has never associated to the domain beofer the fog client adds it. Lastly I have made sure the preexisting computer profiles for these computers were deleted for AD.

            the client says it’s version .1

            Yes and after my manual renaming it seems to join that OU fine.

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

              Can you give the information found in this thread a shot?
              [url]http://fogproject.org/forum/threads/hostname-changer-not-working-since-moving-to-1-0-1.10502[/url]

              Also, is the hostname changed or not? Is your sysprep with interaction or not? If you’re seeing the “issue” and perform a reboot, does it work without changing the hostname?

              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
              • J
                Josh Davis
                last edited by

                I’ve tried restarting the hosts numerous times - no effect

                The image is sysprepped but not generalized.

                I use an unattended answer file that as far as I can tell works perfectly and I know it makes no attempt to add the computer to the domain as i haven’t added in any of these options.

                I am deploying to machines that have identical hardware.

                The image is not taken while on the domain and the image has never been on the domain before deployment.

                Re-installing the fog client after imaging seems to have no effect.

                Nothing in that forum has helped me because all of my active directory settings work perfectly after I manually rename the host, I have no antivirus installed at this point of the imaging process, windows firewall is turned off, and the fog log gives no errors when contacting the server.

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

                  it sounds to me like your computers are loading controlset002 instead of controlset001
                  fog hostname change early only edits the hostname listing in controlset001, which typically gets loaded as currentcontrolset when windows loads, and controlset002 is the “last known working” set.
                  for some reason, your machines seem to be loading that one instead. this suggests that while creating the image, you encountered some kind of crash event.

                  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
                  • J
                    Josh Davis
                    last edited by

                    After disabling early hostname changer and trying another batch of machines they renamed successfully. WOOHOO!!!

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

                      tom may have found a small flaw in the hostname change early method, an experimental new method is now in the svn.
                      it comes down to there being a 3rd location in the registry that the hostname is listed, that may be relevant for some situations but not relevant in others. previously we were changing the hostname in 2 locations, but not the third.

                      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
                      • J
                        Josh Davis
                        last edited by

                        Cool thanks for your help through this guys.

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

                        205

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project