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

    Hostname changing and drive's letter after deployment

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    23
    9.0k
    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.
    • P
      Ph3noM @Tom Elliott
      last edited by Ph3noM

      @Tom-Elliott
      Nope, we used NewSID until now which was enough with xp.
      I’ll try to sysprep a new image to test!

      Thanks you.

      Another question : is it possible to modify or delete a partition just before deployment? (But not modifying the master image).

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

        @Ph3noM I’m not asking if you are using sysprep to suggest you “NEED” to use it. WHen an image is sysprepped, it knows nothing about the registry values (sometimes), and other times it does. the Hostname_early fog setting is the item you’d likely be looking for, but I need more information.

        What version of fog are you using (THe number in the FOG Logo Cloud)? What is the partition structure of your Windows system(s)?

        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

        P 1 Reply Last reply Reply Quote 0
        • P
          Ph3noM @george1421
          last edited by

          @george1421

          I’m using FOG 1.2.0 stable (by “fresh” I mean “new”. Sorry I still have to improve my english 😄 ).

          @Tom-Elliott

          As described above, i’m on 1.2.0.
          80% have: 1 disk with 2 partitions

          1 Reply Last reply Reply Quote 0
          • R
            RLane @george1421
            last edited by

            @george1421 @tom-elliott I stand corrected, thanks y’all. Not trying to hijack this, in the past we’ve used a manual PS+HTA script that allowed us to import them to a OU and rename them post-imaging.

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @RLane
              last edited by george1421

              @RLane No worries, all comments are welcome. That is the way we all collectively learn and grow. There are just different ways to go about doing the same thing.

              The thing we need to keep in mind is the FOS (Fog Operating System) is based on linux and not Windows PE. So in a way we are restricted to only use linux available applications and with the same breath we are feed by being able to use some pretty powerful linux applications.

              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
              • P
                Ph3noM @Tom Elliott
                last edited by

                @Tom-Elliott said:

                the Hostname_early fog setting item

                I don’t find it on the web interface …

                (Forgive me i am a beginner in the computer networking)

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

                  @Ph3noM said:

                  @Tom-Elliott said:

                  the Hostname_early fog setting item

                  I don’t find it on the web interface …

                  (Forgive me i am a beginner in the computer networking)

                  Web Interface -> FOG Configuration -> FOG Settings -> General Settings -> FOG_CHANGE_HOSTNAME_EARLY

                  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 1
                  • P
                    Ph3noM
                    last edited by

                    Oh, my bad, thanks Wayne!

                    And i’m still stuck for hostname changing, it doesn’t work and i don’t know what to do ^^

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @Ph3noM What do you mean by “does not work”? Did you find the setting? Tried deploying the client again? Still the old hostname? Rebooted the client a couple of times?

                      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

                      P 1 Reply Last reply Reply Quote 1
                      • P
                        Ph3noM @Sebastian Roth
                        last edited by Ph3noM

                        @Sebastian-Roth
                        Hi Sebastian,

                        Yes the FOG_CHANGE_HOSTNAME_EARLY option is active.
                        And I tried all, with Win xp and Win10.

                        I think i’m going to bring myself to use the fog client. ^^

                        1 Reply Last reply Reply Quote 0
                        • P
                          Ph3noM
                          last edited by

                          Anyone have an idea ?

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Sebastian Roth

                            @Ph3noM Please schedule a debug deploy task (normal deploy task but tick the option “Schedule task as a debug task”), start the machine up and wait till you get to the shell. Then start cloning (command fog) and step through the tasking. When you get back to the shell run the following commands to see if the registry changes were done correctly - make sure to choose the correct windows (7/10 - won’t work for XP!) system partition for /dev/sdaX, e.g. /dev/sda2:

                            shell> mkdir -p /ntfs
                            shell> ntfs-3g -o force,rw /dev/sdaX /ntfs
                            shell> reged -e /ntfs/Windows/System32/config/SYSTEM
                            ...
                            reged> cd ControlSet001\Services\Tcpip\Parameters
                            reged> ls
                            ... <Hostname> ...
                            reged> cd ControlSet001\Control\ComputerName\ComputerName
                            reged> ls
                            ... <ComputerName> ...
                            reged> q
                            shell> umount /ntfs
                            

                            See what you get for <Hostname> and <ComputerName>…

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

                            206

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project