Code hostname as variable and allow modification
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".
Also available in: Atom