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

Hostname Changer No Reboot

Scheduled Pinned Locked Moved Unsolved
FOG Problems
5
32
14.6k
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.
  • B
    Bruno Nogueira
    last edited by Jun 10, 2015, 3:23 PM

    Hi,
    I’m running the latest version of fog (1.2.0) and when the hostname its different fog client auto rename the computer and reboot.
    It works fine, but in my case after imagining the computers it run some scripts and reboot later, so I don’t need Hostname Changer to do it.

    Now:
    After “first” boot
    Change Name
    Reboot
    User Login
    Run Scripts (Activate Windows and Office + Install TimeFreeze)
    Reboot

    What I would like:
    After “first” boot
    Change Name
    User Login
    Run Scripts (Activate Windows and Office + Install TimeFreeze)
    Reboot

    Thanks!

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Jun 10, 2015, 3:26 PM

      I think there is an option to change the hostname during the imaging process… look in FOG Configuration -> Fog Settings - it’s somewhere in there.

      And I think you can turn off the hostname changer service that the client uses from within the Host Management menu. I think it’s under service settings.

      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/

      B 1 Reply Last reply Jun 12, 2015, 8:23 AM Reply Quote 0
      • B
        Bruno Nogueira
        last edited by Jun 10, 2015, 3:46 PM

        That is amazing!
        I will try it on Friday, then I post here the result.
        Thanks!

        1 Reply Last reply Reply Quote 0
        • J
          Joseph Hales Testers
          last edited by Jun 10, 2015, 4:45 PM

          I believe you will need to upgrade to SVN for that feature but its pretty stable now.

          RTFM

          1 Reply Last reply Reply Quote 1
          • B
            Bruno Nogueira
            last edited by Jun 11, 2015, 8:40 AM

            Sorry, what is SVN?

            W 1 Reply Last reply Jun 11, 2015, 12:39 PM Reply Quote 0
            • W
              Wayne Workman @Bruno Nogueira
              last edited by Wayne Workman Jun 11, 2015, 6:39 AM Jun 11, 2015, 12:39 PM

              @Bruno-Nogueira said:

              Sorry, what is SVN?

              SVN is an abbreviation for Subversion. Subversion is a utility that many fog users use to retrieve the latest developmental revision of FOG Trunk.

              Read more here on getting FOG Trunk: https://wiki.fogproject.org/wiki/index.php/SVN

              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
              • B
                Bruno Nogueira @Wayne Workman
                last edited by Jun 12, 2015, 8:23 AM

                @Wayne-Workman said:

                I think there is an option to change the hostname during the imaging process… look in FOG Configuration -> Fog Settings - it’s somewhere in there.

                And I think you can turn off the hostname changer service that the client uses from within the Host Management menu. I think it’s under service settings.

                Hi again, I found something really weird, I have 3 images on the server (img1, img2, img3) and when I deploy the image 3 the hostname change without fog client (Tried in the same computer), when I deploy the images 1 and 2 the hostname needs client to change.
                How can I allow all images to change the host without fog client?
                thanks

                W 1 Reply Last reply Jun 12, 2015, 12:06 PM Reply Quote 0
                • W
                  Wayne Workman @Bruno Nogueira
                  last edited by Jun 12, 2015, 12:06 PM

                  @Bruno-Nogueira You’re using FOG Trunk? What revision number? (look at the number in the cloud, top left).

                  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/

                  B 1 Reply Last reply Jun 12, 2015, 1:18 PM Reply Quote 0
                  • B
                    Bruno Nogueira @Wayne Workman
                    last edited by Jun 12, 2015, 1:18 PM

                    @Wayne-Workman
                    I’m using fog 1.2.0

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wayne Workman
                      last edited by Jun 12, 2015, 1:20 PM

                      I’m not entirely positive that 1.2.0 supports hostname changing during imaging…

                      However, in current FOG Trunk, the setting to enable that is here:
                      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/

                      B 1 Reply Last reply Jun 12, 2015, 6:12 PM Reply Quote 0
                      • B
                        Bruno Nogueira @Wayne Workman
                        last edited by Bruno Nogueira Jun 12, 2015, 12:12 PM Jun 12, 2015, 6:12 PM

                        @Wayne-Workman I have that option here too and it is enabled, if the hostname changes on one image it have to be something about image configuration.

                        1 Reply Last reply Reply Quote 0
                        • W
                          Wayne Workman
                          last edited by Jun 12, 2015, 6:13 PM

                          Maybe build a new scratch image and try?

                          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/

                          B 1 Reply Last reply Jun 12, 2015, 9:23 PM Reply Quote 0
                          • B
                            Bruno Nogueira @Wayne Workman
                            last edited by Bruno Nogueira Jun 12, 2015, 3:23 PM Jun 12, 2015, 9:23 PM

                            @Wayne-Workman I’ve created a new image today and I will deploy it next week, then I say here if it change the hostname.
                            Thanks

                            1 Reply Last reply Reply Quote 0
                            • W
                              Wayne Workman
                              last edited by Wayne Workman Jun 12, 2015, 5:17 PM Jun 12, 2015, 11:17 PM

                              It’s probably noteworthy to say that you should absolutely NOT take an image from computers that are bound to an Active Directory domain…

                              It’d probably screw up the hostname changing… and it’d definitely screw up the trust relationship between your DCs (domain controllers) and the deployed client images…

                              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/

                              B 2 Replies Last reply Jun 14, 2015, 11:56 AM Reply Quote 0
                              • B
                                Bruno Nogueira @Wayne Workman
                                last edited by Jun 14, 2015, 11:56 AM

                                @Wayne-Workman We doesn’t have any image with Active Directory active, it is just normal Windows PCs 🙂

                                1 Reply Last reply Reply Quote 0
                                • B
                                  Bruno Nogueira @Wayne Workman
                                  last edited by Jun 19, 2015, 10:12 AM

                                  @Wayne-Workman Hi, I’ve done a new deploy and the hostname doesn’t change after imaging, but after it fog try to change it (* Changing hostname…Done) so it have to be something about the Windows Image that by some reason its not changing the registry.
                                  What is the commands fog use to change it?
                                  Can this happen because of permissions?
                                  Thanks!!

                                  T 1 Reply Last reply Jun 19, 2015, 10:31 AM Reply Quote 0
                                  • T
                                    Tom Elliott @Bruno Nogueira
                                    last edited by Jun 19, 2015, 10:31 AM

                                    @Bruno-Nogueira The only thing that I can think that is not allowing the hostname to change is your image is sysprepped, but setup for OOBE mode which requires the user to create a username and 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

                                    B 1 Reply Last reply Jun 19, 2015, 12:12 PM Reply Quote 0
                                    • B
                                      Bruno Nogueira
                                      last edited by Jun 19, 2015, 11:53 AM

                                      Maybe I found part of my solution here:
                                      https://forums.fogproject.org/topic/3361/early-hostname-change-not-working-win7/19

                                      My image that change the hostname only have 1 partition (not counting with small windows partitions).

                                      But the image that’s not changing the hostname have 2 partitions and maybe it is applying hostname configuration in the last partition (only data) and not on Windows partition.

                                      I’ve tried to config my server with the steps in the link but my fog.download its a little diffrent and some commands like “xz --decompress init.xz” doesn’t work.

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        Bruno Nogueira @Tom Elliott
                                        last edited by Bruno Nogueira Jun 19, 2015, 7:13 AM Jun 19, 2015, 12:12 PM

                                        @Tom-Elliott My image is just a normal machine clone, ready to use but not OOBE (the first start is a normal windows startup with all users and everything on it).
                                        Do you think that update to SVN fix the problem?

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          Bruno Nogueira
                                          last edited by Jun 24, 2015, 11:31 AM

                                          I need help! 🙂

                                          W 1 Reply Last reply Jun 24, 2015, 12:46 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            17/32
                                            Last post

                                          163

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project