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

    Can fog change a computer name?

    Scheduled Pinned Locked Moved
    General Problems
    hostname change hostname
    3
    4
    626
    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.
    • N
      ngriffith29
      last edited by

      Hi, I am new to networking and FOG. The whole process has been very enjoyable and I am very appreciative of the amazing documentation and discussion boards! The one thing I have a question about is the naming of a computer. Can fog rename the computer and if so can it name the computer dynamically? I looked through and discussions and it seems to be possible I just don’t know how to configure it.

      Thanks,

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

        @ngriffith29 FOG can rename hosts.

        It can do this in multiple ways.

        The simplest method is the “HOSTNAME_EARLY” which should be enabled by Default. (FOG Configuration Page -> FOG Settings -> Hostname Early)

        The second and probably the safest and most dynamic way is by installing FOG Client on the machines. When you change the hostname within the FOG GUI it will automatically update the hostname the next time it checks in.

        You could sysprep the machine and edit an autounattend.xml file to set the name as it initializes using post download scripts.

        You could also do a similar task at how hostname_early functions using post download scripts.

        The point here is there are many ways to accomplish the same task.

        What, exactly, do you mean by “dynamically?”

        FOG will only change a hostname of a machine that is registered via the HOSTNAME_EARLY and FOG Client methods.

        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

        N 1 Reply Last reply Reply Quote 0
        • N
          ngriffith29 @Tom Elliott
          last edited by

          @tom-elliott By dynamic I mean I want to be able to have the computer names go up in numerical value so for instance in a computer lab it would assign “room-e23-1, room-e23-2” and so forth.

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

            @ngriffith29 With FOG you usually register hosts (at least you need to if you want FOG to rename them) and there you define the hostname it will use after deployment. So it’s just up to you to name the hosts accordingly.

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

            139

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project