Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test PR #1

Open
wants to merge 5 commits into
base: v1
Choose a base branch
from
Open

test PR #1

wants to merge 5 commits into from

Conversation

sunshowers
Copy link
Collaborator

No description provided.

This involves a couple of changes:

1. Read from /etc/machine-info, and if not, return the nodename. This logic
   works on all non-macOS Unixes, including illumos.
2. On illumos, read the nodename from uname(2) rather than /etc/nodename. I
   confirmed with an illumos core dev that the two should have the same content.
Per special request from the illumos core dev. "illumos" is always written in
lowercase, because many fonts don't clearly distinguish between "I" and "l"
[1].

[1] https://github.com/TritonDataCenter/smartos-live/pull/217/files#r38812501
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant