Skip to content

set hostname on Alpine Linux #20

@skyfaller

Description

@skyfaller

When I log in to Alpine Linux after running all roles, hostname is still localhost. sudo hostname dragon only works temporarily.

https://www.cyberciti.biz/faq/alpine-linux-change-hostname-computer-name/ suggests editing /etc/hostname to make it persist between reboots.

After doing this, you would have to run the motd and test page plays again to make them reflect the correct hostname.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions