Currently hyphens in the hostname entry are removed, although they should be valid characters and actually we substitute them in behalf of whitespaces.
Steps to test this branch
Maybe you should use virtual machines because we need to remove all users so that Initial Setup is shown in Greeter.
Install this branch
Enable root user with sudo passwd root
After reboot, switch to tty3, and log in with root
Run userdel <user-name> and remove all accounts
After reboot, Initial Setup should be shown. Then create a new user and here use hyphens in the hostname:
After log in, open Terminal and see the hyphens you used are included in the hostname:
Currently hyphens in the hostname entry are removed, although they should be valid characters and actually we substitute them in behalf of whitespaces.
Steps to test this branch
Maybe you should use virtual machines because we need to remove all users so that Initial Setup is shown in Greeter.
Install this branch
Enable root user with
sudo passwd root
After reboot, switch to tty3, and log in with root
Run
userdel <user-name>
and remove all accountsAfter reboot, Initial Setup should be shown. Then create a new user and here use hyphens in the hostname:![set hostname with hyphens](https://user-images.githubusercontent.com/26003928/205054086-5fe00c53-b860-4cef-8b2b-2d2a6771a43e.png)
After log in, open Terminal and see the hyphens you used are included in the hostname:![hostname with hyphens is applied](https://user-images.githubusercontent.com/26003928/205054100-1f0d3b98-d7ce-4601-b969-af75aee1bf6e.png)