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

    Hostname is not given

    Scheduled Pinned Locked Moved
    General
    3
    3
    373
    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.
    • E
      emreonder
      last edited by

      Hi

      I am deploying ubuntu images to the hosts.
      I would like hostnames to be given by fog server eventhough i have check the box in the settings the hostname of the hosts does not change.

      How shall i fix or debug ?

      Thank you very much

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

        @emreonder Do you have the fog client installed on the ubuntu target computer’s golden image? The fog client is responsible to set the target computer’s name post imaging.

        If you want to do this without the fog client installed, you will need to write a bash script to rename the host. You will do this via the FOG PostInstall script process.

        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
        • S
          Sebastian Roth Moderator
          last edited by

          @emreonder Please post the contents of the fog-client log file here.

          Hostname changing on Linux systems is not as straight forward as it is on Windows. The fog-client will try to change different config files (code reference) though this might not always work.

          On Linux you can usually take another route and set hostname via DHCP. Search the forums and the web in how to do this.

          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

          159

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project