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

Fog-Service - hostname changer gives the name of the master computer

Scheduled Pinned Locked Moved Solved
Bug Reports
4
10
2.7k
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.
  • C
    Carsten Jensen
    last edited by Aug 22, 2014, 10:15 AM

    On Win81 client / fog 1.2.0, during Sysprep (audit mode) I’ve installed the FOG-Service and activated hostname-change.

    After putting the image into OOBE mode, and deploy the image, the hostnames of the deployed computers have the same name as the machine where the master image was created on. If I manually try and rename the other clients, FOG-Service makes sure that the hostname is changed back to what the Master is.

    So hostname changer works… but gives the wrong name.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Aug 22, 2014, 10:18 AM

      [quote=“Carsten Jensen, post: 35683, member: 3876”]On Win81 client / fog 1.2.0, during Sysprep (audit mode) I’ve installed the FOG-Service and activated hostname-change.

      After putting the image into OOBE mode, and deploy the image, the hostnames of the deployed computers have the same name as the machine where the master image was created on. If I manually try and rename the other clients, FOG-Service makes sure that the hostname is changed back to what the Master is.

      So hostname changer works… but gives the wrong name.[/quote]

      FOG Service shouldn’t be changing the name to the Master computer name. It should be changing the name to that of the value stored in the GUI for that relevant host.

      I was aware of issues where the keys that get adjusted for the hostname changer weren’t correct, but I haven’t, at the moment, any Windows 8 machines to test the service with. That being said, this is kind of an aside as the FOG Team is currently working on rewriting the FOG Client (Jbob in particular). My only guess is that the relevant key’s are being updated/added where needed, but the ones that actually deal with the display of the names aren’t.

      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
        Carsten Jensen
        last edited by Aug 22, 2014, 10:36 AM

        Would it be too much to ask for a simple thing as how the fog-service aquires the name of the master image and how it should get the name from the database… perhaps I (or my dev) can make a fix.

        [this is now]
        i.e. old info pulled down and stored in the registry.

        [Should be]
        [url]http://fogserver/fog/client.php?mac_addy=1234567890ab[/url]

        btw as a side note while you’re making a new client… I can’t uninstall the fog-service the traditional way even in it’s Pre-Sysprepped (audit mode) state. The uninstaller runs, the program is removed from the programs list, but the physical files are still located in program files, and the service is still running. It seems the (un)installer for this version is/was broken.

        1 Reply Last reply Reply Quote 0
        • C
          Carsten Jensen
          last edited by Aug 22, 2014, 10:42 AM

          you can download a trial version of Win81 Enterprise here:
          [url]http://technet.microsoft.com/en-gb/evalcenter/hh699156.aspx?ocid=wc-tn-wctc[/url]

          1 Reply Last reply Reply Quote 0
          • J
            jayphizzle
            last edited by Aug 22, 2014, 11:21 AM

            [quote=“Carsten Jensen, post: 35683, member: 3876”]
            So hostname changer works… but gives the wrong name.[/quote]

            What is the name of the client in the Host Management ?

            1 Reply Last reply Reply Quote 0
            • J
              Junkhacker Developer
              last edited by Aug 22, 2014, 1:53 PM

              is it possible that the system with this problem has a virtual network card of some sort? such as, does the imaged system have virtualbox installed?

              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
                Carsten Jensen
                last edited by Aug 25, 2014, 9:41 AM

                @jayphizzle: the master is called udd003, and of course all the other clients have a number ranging from udd001-udd024.

                @junkhacker: The host computers are all alike, same motherboard etc. There are 2 netcards but one has been disabled in the BIOS.
                This was done prior image creation. The master image was created on the computer. No VM’s involved.

                Oh, and something to add, these computers are virgin computers

                1 Reply Last reply Reply Quote 0
                • C
                  Carsten Jensen
                  last edited by Sep 10, 2014, 6:11 AM

                  An update …
                  On Win7 computers that hasn’t been sysprepped, the renaming works.

                  There has been no time to test if Win81 works if it hasn’t been sysprepped.
                  Though I’ll see if I can find some time to make more tests.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Sep 10, 2014, 10:06 AM

                    I’m going to guess, you’re using an unattend file for your Sysprep? With that unattend, does it skip over the name PC create user functions? Is the unattend specifying the hostname during its steps?

                    It sounds like it’s changing the names and finding the keys that deal with the normal naming as being set, but the keys that actually display the name are being set to the master computers name.

                    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
                      Carsten Jensen
                      last edited by Sep 17, 2014, 10:41 AM

                      Please see the attached file for full details, but answers are also below.

                      • Yes, it’s using an unattended file for sysprep.
                      • And yes it skips the create PC name / User
                      • No, hostname is not defined*

                      That sounds about right. Really weird.
                      I’m going to start making a sysprep machine for Win7 with some slight changes, most should look like the Win81 sysprep though. This is merely to see if the same server acts weird there or if it’s a Win81 problem.

                      [url=“/_imported_xf_attachments/1/1370_unattended3-fog.xml.txt?:”]unattended3-fog.xml.txt[/url]

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

                      266

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project