Feature #984

Code hostname as variable and allow modification

Added by tomithy83 almost 9 years ago. Updated almost 9 years ago.

Target version:
Start date:
Due date:
% Done:



I have copied modified this request from Feature #53, but since it's three years old and still "New" here's the request:

All code should reference a variable such as "$HOSTNAME" for the device's hostname instead of the hardcoded "hda".

When Amahi is installed, the installation wizard should ask the user for a desired hostname, or better yet, the GUI should provide the user with the ability to modify the hostname. BOTH, would be the best option.
I would imagine this should be fairly easy to setup (I am not a coder, but in my mind it seems simple if extensive), you're using a variable instead of a hardcoded value.

This resolves 3 issues:
- dns resolving conflict to http://hda in case of 2 or more hda's in the same subnet (e.g. 1 testing, 1 production) since dns requires a unique value and throws a fit during setup if you try to have the same hostname.
- webbrowser is accessible to hostname; something which would feel more natural and logical to (new) users (This was in the original request... personally I do not understand what he was saying here.)
- users have more control over their network naming convention. I like to name all of my hosts after Star Wars ships/locations ("Executor", "Imperial Center", etc.) and I have this one stubborn server named "HDA".

Related issues

Related to platform - Feature #53: change name of hda to fqdn ($HOSTNAME) New 02/22/2009
Related to platform - Feature #659: Support different server name than HDA New 10/21/2010
Related to platform - Feature #482: It would be nice to allow the changing of the shortname. New 03/21/2010


#1 Updated by tomithy83 almost 9 years ago

  • Subject changed from change name of hda to fqdn ($HOSTNAME) to Code hostname as variable and allow modification

#2 Updated by tomithy83 almost 9 years ago

  • Priority changed from Normal to High

After seeing that there are already multiple requests for this feature, I have increased the priority to "High".

#3 Updated by bigfoot65 almost 9 years ago

  • Priority changed from High to Normal

We have already began to add variables to the code for Amahi. This will most likely be released in Amahi 7 for Fedora 17 in the next few weeks, proving testing goes well.

#4 Updated by tomithy83 almost 9 years ago

  • % Done changed from 0 to 70

Good to know. Thanks.

I updated the % done.

Also available in: Atom