• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • J
    Junkhacker Developer
    last edited by Mar 27, 2015, 4:04 PM

    hostname changing before first boot is likely broken for SVN builds, actually. however, if the fog service is installed, they should change the name on first 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 Mar 27, 2015, 4:06 PM

      Do I need to install the service on the hosts or just activate it on the server. Do the laptops need to be still connected to fog on first boot for this to happen?

      1 Reply Last reply Reply Quote 0
      • J
        Junkhacker Developer
        last edited by Mar 27, 2015, 4:19 PM

        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 Mar 27, 2015, 4:26 PM

          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
          • J
            Joseph Hales Testers
            last edited by Mar 27, 2015, 4:38 PM

            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
            • J
              Junkhacker Developer
              last edited by Mar 27, 2015, 4:39 PM

              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 Mar 27, 2015, 4:45 PM

                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
                • W
                  Wayne Workman
                  last edited by Mar 27, 2015, 4:53 PM

                  [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 Mar 27, 2015, 5:08 PM

                    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
                    • T
                      Tom Elliott
                      last edited by Mar 27, 2015, 5:13 PM

                      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 Mar 27, 2015, 5:18 PM

                        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
                        • J
                          Junkhacker Developer
                          last edited by Mar 27, 2015, 5:27 PM

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

                          193

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project